Newbi here.

I'm not finding any reference to this on the Plone site or
via google. Any assitance would be greatly appreciated.

Not thinking before hitting the enter key.  I changed the portal_workflow
default policy from (I believe) simple_publication_workflow to
intranet_workflow.  The mistake was in doing so for my whole Plone
instance.  I tried recovering by changing it back through the ZMI,
bit when I try to update the security setting, I get an error screen,
that leads me to the python stack trace:

BEGIN STACK TRACE:

Exception traceback

Time  2007/09/11 07:27:37.264 GMT-7
User Name (User Id)   admin (admin)
Request URL   http://adams:8080/saltlib/portal_workflow/updateRoleMappings
Exception Type  AttributeError
Exception Value   portal_placeful_workflow

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 <string>, line 4, in _facade
    * Module AccessControl.requestmethod, line 64, in _curried
    * Module Products.CMFCore.WorkflowTool, line 457, in updateRoleMappings
    * Module Products.CMFCore.WorkflowTool, line 586, in
_recursiveUpdateRoleMappings
    * Module Products.CMFPlone.WorkflowTool, line 316, in getChainFor
    * Module Products.CMFPlacefulWorkflow.WorkflowPolicyConfig, line 118, in
getPlacefulChainFor
    * Module Products.CMFCore.utils, line 123, in getToolByName

AttributeError: portal_placeful_workflow

Display traceback as text

END STACK TRACE ...

Oops.  Now the site is dead.  Trying to access the site, I'm getting
the lengthy error screen which appears below.

I want to recover it.  If all else fails, I'll just delete ad
re-create the Plone instance, but I'd rather fix it.

I'm running Plone 3 on a Suse 10.2 Linux install.

Another thing I notice is that there is now a mysterious object in
the root of my ZMI for my plone site:

  .wf_policy_config (Workflow policy configuration)

Clicking on the object, I get:

  Workflow Policy Configuration Workflow Policy Configuration
  at /saltlib/.wf_policy_config

  XXX Missing drop downs for the two cases.

Then a couple boxes...

  Workflow Policy in this folder
  Workflow Policy below this folder

No doubt the problem is related to this object.

I've done a little digging around and found tye file which
generated this, but that doesn't mean much to me at this point.
I've tried guessing the workflow (the default simple_publication_workflow)
in both, which, of course, does no good.

Anyone give me a clue what this is about?

BEGIN PLONE SITE ACCESS ERROR SCREEN...

Site Error

An error was encountered while publishing this resource.

AttributeError
Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 202, in publish_module_standard
    * Module ZPublisher.Publish, line 150, in publish
    * Module plone.app.linkintegrity.monkey, line 21, in
zpublisher_exception_hook_wrapper
    * Module Zope2.App.startup, line 221, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 119, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module Shared.DC.Scripts.Bindings, line 313, in __call__
    * Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 216, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 155, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 89, in pt_render
    * Module zope.pagetemplate.pagetemplate, line 117, in pt_render
    * Module zope.tal.talinterpreter, line 271, in __call__
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 891, in do_useMacro
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    * Module zope.tal.talinterpreter, line 521, in do_optTag
    * Module zope.tal.talinterpreter, line 516, in no_tag
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 891, in do_useMacro
    * Module zope.tal.talinterpreter, line 346, in interpret
    * Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
    * Module zope.tales.tales, line 696, in evaluate
      URL:
file:/opt/Plone-3.0/zeocluster/client1/Products/CMFPlone/skins/plone_templates/global_d
efines.pt
      Line 8, Column 0
      Expression: <PathExpr standard:u'plone_view/globalize'>
      Names:

      {'container': <PloneSite at /saltlib>,
       'context': <ATDocument at /saltlib/front-page>,
       'default': ,
       'here': <ATDocument at /saltlib/front-page>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0xd5338ac>,
       'request': <HTTPRequest,
URL=http://www.saltlib.org/front-page/document_view>,
       'root': <Application at >,
       'template': <FSPageTemplate at /saltlib/document_view used for
/saltlib/front-page>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>}

    * Module zope.tales.expressions, line 217, in __call__
    * Module Products.PageTemplates.Expressions, line 161, in _eval
    * Module Products.PageTemplates.Expressions, line 123, in render
    * Module Products.CMFPlone.browser.ploneview, line 68, in globalize
    * Module Products.CMFPlone.browser.ploneview, line 127, in
_initializeData
    * Module plone.memoize.view, line 49, in memogetter
    * Module plone.app.layout.globals.context, line 127, in workflow_state
    * Module Products.CMFCore.WorkflowTool, line 253, in getInfoFor
    * Module Products.CMFCore.WorkflowTool, line 522, in getWorkflowsFor
    * Module Products.CMFPlone.WorkflowTool, line 316, in getChainFor
    * Module Products.CMFPlacefulWorkflow.WorkflowPolicyConfig, line 118, in
getPlacefulChainFor
    * Module Products.CMFCore.utils, line 123, in getToolByName

AttributeError: portal_placeful_workflow (Also, the following error occurred
while attempting to render the standard error message, please see the event
log for full details: portal_placeful_workflow)




-- 
View this message in context: 
http://www.nabble.com/Plone-3---workflow-policy-goofup-tf4424123s15482.html#a12619870
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.


_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to