[Zope-CMF] Re: Bug when removing state in DCWorkflow

Tres Seaver tseaver at palladion.com
Wed Jan 4 16:44:03 EST 2006


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

Alexander Limi wrote:
> Can anybody familiar with DCWorkflow take a look at this?
> 
> http://trac.plone.org/plone/ticket/5067
> 
> It used to work, and is a classic workflow change operation that I 
> personally use all the time.
> 

Objects which have a no-longer-sane review_state have *never* had
reasonable behavior:  the workflow engine *can't* compute what to do
with them.  They have no transitions (which is why the workflow actions
are gone), and they can't be fixed by the "Update Security" button,
because there *is no state* to whose permission map they can be conformed.

With respect, this is a "Doctor! Doctor!" problem, to which the
appropriate response is "Take the spoon out of the glass before
drinking" (i.e., write the simple script which repairs the broken
instances *before* deleting the state).

Best,


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDvEGj+gerLs4ltQ4RAiB2AKDSdO5Tk+Lcta5GDSWyG+7Etl+nxgCdG9t7
X++WNcIz85To/3zmzM9G4p0=
=6jVx
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list