Brian Lloyd wrote at 2004-1-22 10:11 -0500:
>> I did check with a fresh 2.6 xx
>> A DCWorkflow script that was not not called with the version from a few 
>> hours ago is now called but produces the following traceback
>> This happens when the container binding is set to "container" and also 
>> when it is cleared.
> ...
>>    - <PythonScript at 
>> /zehnder/zehnder/portal_workflow/ZWorkflow/scripts/setTaskOwner>
>>    - Line 1
>> AttributeError: StateChangeInfo instance has no attribute 
>> 'getPhysicalRoot'

This problem has nothing to do with the recent security enhancements:

     "StateChangeInfo" does not have a "getPhysicalRoot" attribute.
     It never had and it should not have...

Check your "setTaskOwner" script.
Almost surely, you do not want to call "getPhysicalRoot" on the
"state_change" but on the affected object.


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to