[Zope] adding instance of Local File Sysem programattically

Dieter Maurer dieter@handshake.de
Fri, 13 Jun 2003 21:27:39 +0200


Dennis Allison wrote at 2003-6-11 14:34 -0700:
 > When asked, a local file system reports that its meta_type is 
 > 'Local File System'.  
 > 
 > Programatic additions fail for 'LocalFS' as well.
 > 
 > This is an old product.  Was there an earlier mechanism for adding
 > products that pre-dates the current scheme?

There was. It is called "folder methods".
The constructors were added to the "ObjectManager" (maybe "Folder")
class by monkey patching.

You can use my "DocFinder" product to check whether your folders
contain a method to add LocalFS instances.


Dieter