[Zope-CMF] SkinnableFolder vs PortalContentFolder
Florent Guillaume
fg at nuxeo.com
Fri Jul 16 08:32:34 EDT 2004
> Using Zope 2.5.1/CMF 1.3 on WinXP for development and FreeBSD for
> production. I have exported/imported a CMF site from develpoment to the
> production server, updated the skin paths, etc...
These are old versions of both Zope and CMF. Especially for CMF, the
behavior of SkinnableFolder has been changed a bit in CMF 1.4. I would
try with recent versions of CMF (which probably require recent versions
of Zope).
Florent
>
> One of my custom portal_types behaves differently in its new
> environment: the portal catalog won't index or update the custom type.
> Updating the catalog through the ZMI works though. AFAICT, both setups
> are identical.
>
> I have created a custom type "Photo Album" that uses Florent Guillaume's
> PortalContentFolder as a container, and rbickers's Photo product to
> store its images. Since PortalContentFolder is catalog aware and part of
> a workflow, everything works as designed on my local machine.
>
> Originally I have used SkinnableFolder as a container, but somehow the
> catalog stores the date of creation for the portal as values for
> CreationDate, Date, ModificationDate, modified and created.
> SkinnableFolders do, however, get catalogued on both systems.
>
> I have tried modifying PortalContentFolder to use CMFCatalogAware
> instead of DublinCore, and viceversa for SkinnableFolder. Locally, this
> results in the incorrect date values being catalogued when using
> CMFCatalogAware, and correct behavior with DublinCore. On the production
> server, no indexing when DublinCore is used...
>
> Some posts from 2002 suggested looking at how CMFArticle handles
> indexing, I don't see the difference with PortalContentFolder does. But,
> to make matters even more complicated, CMFArticles get indexed properly!
>
> Any thoughts, suggestions?
>
> Norbert
>
>
>
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF at lists.zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87 http://nuxeo.com mailto:fg at nuxeo.com
More information about the Zope-CMF
mailing list