[Zope3-dev] FTP mkdir in root folder makes more root folders
Steve Alexander
steve@cat-box.net
Thu, 10 Apr 2003 08:44:34 +0200
Barry Pederson wrote:
> 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.
I think you're right. Nice catch!
Would you report this in the Zope 3 collector?
http://collector.zope.org/Zope3-dev
--
Steve Alexander