Status: Accepted
Owner:
[hidden email]
Labels: Type-Bug Milestone-1.4 Milestone-2.0
New issue 5955 by
[hidden email]: File Browser: crashes when creating
a new file
http://code.google.com/p/pharo/issues/detail?id=5955Pharo 1.4 one click and 2.0 also:
- open up the file list
- use the right mouse button to create a new file
"Add new file" via menu
=> it crashes with a "FileDoesNotExist" exception since the file is already
there
The reason is that one of the files displayed in the file list
is selected and the name for the new file is appended to this FileReference.
So if you have c:\bar\test.txt selected and enter foo.st as new file name
the constructed name is c:\bar\test.txt\foo.st which is non existing
since test.txt is a file and not a directory
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker