Maybe stupid suggestions, but ....
looking at the history of the object might help
(or maybe just tell you that the transaction happened and the content
is still in the same state).
You can proabably look at your "code" in /portal_workflow (not
everthing is shown there, If I remember right, but still).
You could try changing the destination state to "one of the states
that is working with the other tranactions" and see if that works (in
which case its not a guard (?))
.... also ... a typo in the "destination state" would give this
behaviour (like mixing up the names of transactions and states)
E
Den 14. sep. 2010 kl. 21.12 skrev tkuchheuser:
Hey Raphael,
thanks for your answer.
Raphael Ritz wrote:
tkuchheuser wrote:
Hey,
I have a problem getting a custom workflow to work in Plone 4.
The workflow has 6 states.
After creating the custom content all possible 5 transitions are
shown
but
only two are working.
What does "working" mean in this context?
please see below.
The transition doesn't happen. The object remains in the same state.
Whenever I click one of the other 3 possible transitions I get the
message
"Item State changed" but the state remains the same.
What happens if you do a forced reload of the full page?
I tried that. Even with different browsers (FF,Chrome,IE). No
difference...
My suspicion is that you are missing some JS/AJAX updates
of page snippets on custom transitions.
Raphael
It's even more strange when I try that in python like:
from Products.CMFCore.utils import getToolByName
wft = getToolByName(portal,'portal_workflow')
proband = portal.probanden['a665']
wft.getInfoFor(proband,'review_state')
'aktiv'
wft.doActionFor(proband,"anmedizin")
wft.getInfoFor(proband,'review_state')
'reviewmedizin'
After reloading/refreshing the page the old state ('aktiv') is still
shown.
Am I missing something?
Thanks
HOWEVER.... when using the State -> Advanced form everything
works fine.
So
I'm guessing permissions and guard permissions are fine.
Any ideas anyone?
Thank you very much
Timo
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers
--
View this message in context: http://plone.293351.n2.nabble.com/
Workflow-transitions-not-working-in-Actions-Area-
tp5523703p5531671.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers