[Zope-CMF] Re: [dev] After the goldrush....

Jean-Marc Orliaguet jmo at ita.chalmers.se
Sun Aug 15 17:49:36 EDT 2004


yuppie wrote:

> Hi!
>
>
> Jean-Marc Orliaguet wrote:
>
>> One question: I have a tool based on 'CMFCore.PortalFolder'.  The 
>> tool does not get listed by 'folder_view'  but it gets listed by 
>> 'folder_contents' and 'index_html' on the root of the portal.  It 
>> didn't get listed with CMF1.4 - so what has changed there?
>
>
> If 'spec' is not specified, Meta Type based filtering is now disabled 
> in contentItems(), contentIds(), contentValues() and 
> listFolderContents(). Seems your tool claims to be an instance of a 
> valid Portal Type, so the Portal Type based filtering fails to filter 
> it out.
>
> Given your tool claims to be of the Portal Type 'Folder', I don't 
> understand why 'folder_view' doesn't list the tool.
>
>
> HTH,
>     Yuppie
>
>
Hi! Thanks, -- it disappears if I change the Portal Type from 'Folder' 
to 'Portal Themes Tool' or to any name that is not a registered Portal 
Type.

/JM


More information about the Zope-CMF mailing list