Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001436 [Squeak] System minor always 07-08-05 18:47 12-07-15 13:27
Reporter noury View Status public  
Assigned To
Priority normal Resolution open Platform windows
Status new   OS windows
Projection none   OS Version
ETA none Fixed in Version Product Version 3.8
  Product Build
Summary 0001436: [BUG] FileDirectory root
Description Hi,

I'm working on Windows XP. When I ask for the root file directory
(FileDirectory root)
I get an empty directory (FileDirectory on: ' ') which refer to the
image directory.
It works well for creating subdirectories
FileDirectory root createDirectory: 'MyDir'.

"However, when I try to retreive the created subDir
FileDirectory root directoryNamed: 'MyDir'

FileDirectory root createDirectory: 'MyDir'.
"Answers the parent dir (FileDirectory root) instead of the created dir
(MyDir) as I first expected
... It seems strange to me..."
Steps To Reproduce Doesn't seem to be an issue on mac osx/unix. Is it still troublesome in windows?
Additional Information
Attached Files

- Relationships

- Notes
(0014582 - 501 - 575 - 575 - 575 - 575 - 575)
12-07-15 13:27

I am looking into this issue and it strikes me as rather twisted.

The main issue is, that the empty string as a path is ambiguously handled in the DosFileDirectory:

(FileDirectory on: '') directoryNames "Returns the drives of the system"

(FileDirectory on: '') createDirectory: 'TestDir' "Creates a directory in the image folder"

I think the empty string should be consistent with other platforms and refer to the image folder. Any other opinions or experiences why this works like that?

- Issue History
Date Modified Username Field Change
07-08-05 18:47 KenCausey New Issue
07-08-05 18:47 KenCausey Reporter KenCausey => noury
07-17-13 22:52 tim os  => windows
07-17-13 22:52 tim platform  => windows
07-17-13 22:52 tim Steps to Reproduce Updated
12-07-15 13:27 Patrickr Note Added: 0014582

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
41 total queries executed.
32 unique queries executed.
Powered by Mantis Bugtracker