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

Florent Guillaume fg@nuxeo.com
13 Jun 2002 15:53:48 +0200


The thread starts at
http://lists.zope.org/pipermail/zope-cmf/2002-June/012992.html

Florent


On Thu, 2002-06-13 at 03:06, Peter Simmons wrote:
> Hi Florent,
> 
> What was the thread? I only joined this list yesterday.
> 
> Cheers,
> Pete
> ----- Original Message -----
> From: "Florent Guillaume" <fg@nuxeo.com>
> Newsgroups: local.lists.zope.zope-cmf
> To: <zope-cmf@zope.org>
> Sent: Thursday, June 13, 2002 6:32 AM
> Subject: Re: [Zope-CMF] Type not showing up in folder contents
> 
> 
> > 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