[Zope-CMF] [dev] WorkflowMethod (aka WorkflowAction)
Yuppie
schubbe at web.de
Mon Oct 20 04:08:16 EDT 2003
Hi!
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?
Cheers,
Yuppie
More information about the Zope-CMF
mailing list