[Zope-CMF] Plone rc2 kills objectMoved exception

robert rottermann robert@redcor.ch
Thu, 23 Jan 2003 09:37:29 +0100


Good morning,

Plones doActionFor swallows CMFCore's doActionFor
which is needed when a file is moved or deleted.
Please add the following modification:

    security.declarePublic('doActionFor')
    def doActionFor(self, ob, action, wf_id=3DNone, *args, **kw):
        """ it appears that objects are reindexed after they
            are transitioned in DCWorkflow.  """
        result =3D BaseTool.doActionFor(self, ob, action, wf_id, *args, *=
*kw)
        ob.reindexObjectSecurity() #Issue 442
        return result

thanks
Robert