Laurence Rowe a écrit :
> I have made the changes on a branch:
> This is branched from 2.1 so I could test with Plone. There is no test
> coverage for status or history yet. I'll add some if the approach meets
> with approval.
> Comments appreciated, specifically on:
> * I currently adapt based on (IContentish, IWorkflowDefinition) should
> this be made more general, i.e. (Interface, IWorkflowDefinition)? Does
> anyone workflow anything that is not IContentish?
If CMF is focused only on CMS features, you shouldn't have workflow on
something that is not a 'content'. Now, if you was involved in workflow
sprint in Naples, you should know that we want something more powerful
than a workflow focused on content:
> * Is depricating getStatusOf, setStatusOf, getHistoryOf desirable? I'm
> not sure it would serve any particular purpose.
I use these methods during export/import to/from oldier Plone version or
to/from another CMS. It allows more readable code than making low level
programmation to rebuild an history or to force a specific workflow state.
INGENIWEB (TM) - S.A.S 50000 Euros - RC B 438 725 632
17 rue Louise Michel - 92300 Levallois Perret - France
web : www.ingeniweb.com - « les Services Web Ingénieux »
Tel : 01.78.15.24.08 / Fax : 01 47 57 39 14
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests