[Zope-dev] Re: RFC: backward compatibility of ps bindingsRESOLUTION

Dieter Maurer dieter at handshake.de
Fri Jan 23 15:15:07 EST 2004


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.

-- 
Dieter



More information about the Zope-Dev mailing list