Hello zope-cmf-dev! I have a question about DCWorkflow, WorkflowTool and Acqusition.
My object, during change state, move to another folder and should change acqusition wrapper. workflow_tool = getToolByName( my_object, 'portal_workflow') workflow_tool.doActionFor( my_object, 'some_action' ) # during doActionFor raised ObjectMoved but i don`t know about that in here # because WorkflowTool._invokeWithNotification shallow it. # so my_object has old acqusition wrapper. print aq_chain( my_object ) #wrong result __do_something_with_my_object__ my_object.reindexObject() # my_object reindexed on the wrong path ( old # path), but my_object has new physical path :( i think i should subclassing from WorkflowTool and override doActionFor But how can i repaire wrapper? if i create new wrapper in the doActionFor, method namespace has old wrapped object. Or may be i use WorkflowTool wrongly. -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests