[Zope-CMF] Type not showing up in folder contents

Florent Guillaume fg@nuxeo.com
Wed, 12 Jun 2002 18:32:12 +0000 (UTC)


The answer to your questions lies in a post I made in reply to David
Harvey a few days ago. See that thread.

Also, please don't post in HTML.

Florent


Peter Simmons <pete@bcmpweb.com> wrote:
> Any help is appreciated on this. :-)
> 
> I have created a new ZClass based upon a old ZClass I had and PortalContent
> and DefaultDublinCoreImpl.
> 
> I have registered it in the portal_types tool and can add it to folders
> using the new button and invoke factory. I can then even search for it and
> find it so it must get added to the portal catalog. However it doesn't show
> up on the folder_contents for the folder. The actual object is in there as I
> can see it in ZMI or if I modify folder_contents to use objectValues instead
> of listFolderContents it works fine too.
> 
> After looking at the listFolderContents method it basically calls
> contentValues and does security permission based filtering which obviously
> isn't the case because the search does the same. I haven't managed to find
> the contentValues method yet to see what it does thought anyone know where
> this is?
> 
> Also was I supposed to register the type in some special way other than
> using the portal_types tool?
> 
> Any other ideas are welcome. This could be a problem for us because we have
> a few ZClass based products we would like to incorporate into our new CMF
> site and our clients are in the same boat.
> 
> Cheers,
> Pete
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com