[Zope-CMF] Re: [DCWorkflow] condition on transition action

Encolpe Degoute encolpe at colpi.info
Sat Jun 25 17:58:03 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

yuppie a écrit :

| Hi!
|
|
| Encolpe Degoute wrote:
|
|> Now that CMF 1.5 is out, and 1.5.1 too, can I start to work on
|> this patch: http://www.zope.org/Collectors/CMF/207
|>
|> Have you any recommandations ?
|
|
| Well. I'm not against a condition field for workflow Actions. But I
|  still can't see other than historical reasons to use a different
| Actions machinery for workflows than for the rest of the CMF.
|
| DCWorkflow Actions still use the OAI, which is marked as deprecated
|  since CMF 1.3. This means a lot of extra code to maintain and
| extra rules to learn and remember.
|
| Your proposal adds a condition field that works different than the
| other OAI based Action fields and different than the condition
| fields in CMFCore Actions. It uses DCWorkflow Expressions and
| doesn't reuse any code from CMFCore Actions.


This code was made for CMF 1.4.2 and I used only DCWorkflow code to
not make DCWorkflow depends on CMF. Initially it was a patch to
simplify a professionnal project code.

| I think it's worth the effort to migrate DCWorkflow Actions to the
| CMFCore Actions machinery for CMF 1.6. And in that context your
| proposal is a move in the wrong direction.


Now that actions machinery has been refactored in CMF 1.5, I would use
these new implementation instead to the old code.
There's to class using actions: transitions and worklists. Does
anybody have specific request on these migrations ?

Regards,

- --
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.15 (GNU/Linux)

iD8DBQFCvdNpvFPzBBlIZMMRAjjfAKCCcZe/v4qoqoj5PeUYJ5arWfeCXgCeLknr
C81G+1XNDoABrEIKkD3W9Yc=
=ejsv
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list