[Zope] CMF Folder Types was InvokeFactory Question

David Pratt fairwinds at eastlink.ca
Tue Feb 1 08:12:54 EST 2005


Thanks Robert.  I am working in CMF. Sometimes you need someone to 
point out the obvious.   I guess I grabbed the wrong folder type when I 
made the information folder in the first place in the ZMI.  I did not 
get any feedback from the ZMI that there was anything wrong.  I always 
start with view templates first. I put a number of Portal Folder items 
into the information folder (a plain Folder type as it turned out) in 
the first place so I would have some items to create my view template 
before going on to others.

I makes me wonder how a Portal Folder can be made inside a plain Folder 
in the ZMI and not throw an exception, yet to do it programatically 
facilitates an unpredictable behavior.  Perhaps a TypeError exception 
should have been raised in both circumstances when there was an attempt 
to place a Portal Folder type inside a plain Folder.  Are there 
circumstances that you can think of where you would want Portal Folders 
to be allowed inside plain Folders in CMF.  Is this a bug?

Regards
David

On Tuesday, February 1, 2005, at 04:42 AM, robert wrote:

> Is your info-folder a CMF/Plone folder?
> If not it does not have a invokeFactory method.
> This method would be acquired insted.
> Robert



More information about the Zope mailing list