Status: Accepted
Owner:
[hidden email]
Labels: Type-Bug
New issue 5884 by
[hidden email]: FileBrowser/FileList 'Add new
file' menu item in directory list does not work
http://code.google.com/p/pharo/issues/detail?id=5884Open a FileBrowser in Pharo 2.0.
Select a directory in the directory list.
Select a file in the file list.
Open directory list pop up menu and select 'Add new file' item.
Bingo, you get a FileDoesNotExist exception...
It's the same bug as Issue 5881
FileList>>addNewFile
self
addNew: 'File'
byEvaluating: [:newName | (reference / newName) ensureFile ]
But the reference inst var is pointing the the selected file, not the
selected directory...
At worse, if I selected a directory, the new entry would be created at
wrong level.
I guess i can open one bug entry per menu item.
I will stop here, but please, eating own dog food would be good for the
system.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker