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