El dj 22 de 03 de 2012 a les 16:39 +0000, en/na Maarten Nieber va
escriure:
> Hi,
>
> I removed some states from my workflow, and created this update step:
>
> def upgrade_21_to_22a(setup):
> """
> """
> setup.runImportStepFromProfile('profile-abb.types:default', 'workflow')
>
> This is the typical upgrade step for workflows that I always use. However,
> when
> I run it, the old workflow states are still there. BTW I'm using this url to
> inspect the workflow states:
>
> /ra/portal_workflow/abb_intranet_workflow/states
>
> Am I missing something? Is some other step needed to remove states from a
> workflow?
Hi,
A first pointer should be the collective docs:
http://collective-docs.plone.org/en/latest/content/workflow.html
Also if you remove some states, you should ensure that no content is
left on the now-removed states (so updating them *before* the actual
removal).
Cheers,
> Thanks!
> Maarten
>
> _______________________________________________
> Product-Developers mailing list
> [email protected]
> https://lists.plone.org/mailman/listinfo/plone-product-developers
--
Gil Forcada
[ca] guifi.net - una xarxa lliure que no para de créixer
[en] guifi.net - a non-stopping free network
bloc: http://gil.badall.net
planet: http://planet.guifi.net
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers