[Zope-CMF] [dev] WorkflowMethod (aka WorkflowAction)

Dieter Maurer dieter at handshake.de
Mon Oct 20 13:48:20 EDT 2003


Yuppie wrote at 2003-10-20 10:08 +0200:
 > In CMFDefault the WorkflowMethod machinery is broken in many ways:
 > 
 > 1.) Only a random selection of methods is wrapped:
 > Event.edit(), File.edit(), Image.edit(), Link.edit() and 
 > Document.setFormat()
 > 
 > 2.) WorkflowMethod (=WorkflowAction) doesn't seem to work well with 
 > WebDAV. There are some comments like that:
 >          """
 >          used to be:  editMetadata = WorkflowAction(_editMetadata)
 >          Need to add check for webDAV locked resource for TTW methods.
 >          """
 > 
 > 3.) WorkflowMethod doesn't seem to work well with Interfaces:
 > The wrapper modifies the interface so verifyClass doesn't work.
 > 
 > 4.) Some broken use cases were discussed in this thread:
 > <http://mail.zope.org/pipermail/zope-cmf/2003-January/016843.html>
 > 
 > 
 > Is there a way to fix that machinery (and does it make sense) or could 
 > we just remove the wrappers from the methods listed above?

I would drop the "WorkflowMethod" support.

   I does not work and nobody has complained. 
   This indicates, nobody needs it.


Dieter



More information about the Zope-CMF mailing list