[Zope3-dev] FTP mkdir in root folder makes more root folders

Barry Pederson bp@barryp.org
Wed, 09 Apr 2003 23:03:07 -0500


I noticed that when you FTP into Zope3 and do a mkdir in the root 
folder, the created folder ends up also being of class "RootFolder". I 
noticed this because the WMI breadcrumb trail for such a folder 
incorrectly shows the created folder as being "[top]"

If you make a folder through the web interface, and then within that 
folder do a FTP mkdir, it ends up being a plain folder - and shows a 
correct-looking breadcrumb trail.

Looking in src/app/ftp/__init__.py, it seems like the mkdir method must 
basically make new folders that are the same class as their parent 
folder - which sounds like a good idea in general, if you have custom 
photo-folders and such, but maybe there needs to be an exception for the 
case of the root folder.

	Barry