[Mono-bugs] [Bug 61787][Wis] New - Allows you to name a file with the name of an existing file
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 21 Jul 2004 12:51:06 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by msolnit@istante.com.
http://bugzilla.ximian.com/show_bug.cgi?id=61787
--- shadow/61787 2004-07-21 12:51:06.000000000 -0400
+++ shadow/61787.tmp.21007 2004-07-21 12:51:06.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 61787
+Product: Mono Develop
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: project
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: msolnit@istante.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Allows you to name a file with the name of an existing file
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+IDE allows you to use the same file name twice, leading to problems.
+
+Steps to reproduce the problem:
+1. Add a new blank XML file to a project, call it "app.config".
+2. Enter some XML and save the file.
+3. Repeat step 1.
+
+Actual Results:
+IDE allows you to create a new file with the same name. This messes up
+the GUI a bit (you'll actually see three entries in the tree, and one of
+them is missing an icon). Also, the original file's contents are erased
+(file becomes 0 bytes), which is BAD.
+
+Expected Results:
+Error that the name is already taken.
+
+How often does this happen?
+Every time.
+
+Additional Information:
+Probably the same thing will occur if I try to re-name a file, etc.
+Watch out for names that might be taken on disk even if they are not
+taken in the project (i.e. a file in the project directory that has not
+been added yet).