Hi Eric -- I couldn't replicate your problem on a fresh install of
Plone 3.0.5. And I don't recognize that error. But if it's useful,
here's some background: when you create a new PressRoom object, it pre-
populates itself with three Folders (for each of the supporting
PressRoom content types), each with their own new Collection as a
default page. So in the case of the folder for Press Releases, it
creates the Folder (id: 'press-releases') and the contained Collection
(id: 'all-press-releases').
So I would verify that Folders and Collections are implicitly addable
in your site and that Folders are not employing a workflow that would
somehow generate an AttributeError when trying to access a newly-
created sub-item.
Hope that helps!
Jon
___________________________
Jon Baldivieso
503.222.5064
ONE/Northwest Portland Office
New tools and strategies for engaging people in protecting the
environment
On Jan 9, 2008, at 8:22 PM, Eric S. Tyrer II wrote:
Hi
I seem to be breaking PressRoom allot. I've got a 3.0.5 site and i've
successfully installed PressRoom, but I get the following error when I
try to create the folder.
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFPlone.FactoryTool, line 368, in __call__
Module Products.CMFPlone.FactoryTool, line 152, in __getitem__
Module Products.CMFPlone.PloneFolder, line 348, in invokeFactory
Module Products.CMFCore.TypesTool, line 716, in constructContent
Module Products.CMFCore.TypesTool, line 276, in constructInstance
Module Products.CMFCore.TypesTool, line 450, in _constructInstance
Module Products.PressRoom.content.PressRoom, line 9, in addPressRoom
Module Products.PressRoom.content.PressRoom, line 139, in
initializeArchetype
Module Products.ATContentTypes.lib.constraintypes, line 281, in
invokeFactory
Module Products.CMFCore.PortalFolder, line 315, in invokeFactory
Module Products.CMFCore.TypesTool, line 716, in constructContent
Module Products.CMFCore.TypesTool, line 278, in constructInstance
Module Products.CMFCore.TypesTool, line 290, in _finishConstruction
Module Products.CMFCore.CMFCatalogAware, line 148, in
notifyWorkflowCreated
Module Products.CMFCore.WorkflowTool, line 292, in notifyCreated
Module Products.CMFCore.WorkflowTool, line 642, in
_reindexWorkflowVariables
Module Products.Archetypes.CatalogMultiplex, line 65, in
reindexObjectSecurity
Module Products.ZCatalog.CatalogBrains, line 52, in
_unrestrictedGetObject
Module OFS.Traversable, line 269, in unrestrictedTraverse
- __traceback_info__: ([], 'all-press-releases')
AttributeError: all-press-releases
I can't seem to figure this out. is it our workflow that is preventing
the pressroom objects from being created?
Regards
Eric Tyrer
Eric S. Tyrer II
Web Systems Manager
York College/CUNY
94-20 Guy R. Brewer Blvd.
Academic Core - STE 4G04
Jamaica, NY 11451
(P) 718-262-2466
Be a yardstick of quality. Some people aren't used to an environment
where excellence is expected. - Steven P. Jobs
Dimidium facti qui coepit habet; sapere aude; incipe ! - Quintus
Horatius Flaccus (Horace)
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers