Quick fix for default workflow definition.
------------------------------------------

                 Key: MAGNOLIA-1415
                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1415
             Project: Magnolia
          Issue Type: Improvement
          Components: workflow
    Affects Versions: 3.1
            Reporter: Popa Bogdan
         Assigned To: Nicolas Modrzyk
            Priority: Minor


There is a problem with the default activation definition found in the 
default.xml file. The "revision round" sub is not working ok if a publisher is 
rejecting the activation. The content is sent back to the editor but the editor 
can't publish it again to the publisher! 
I saw that the inbox is not shown for an editor but I think that it is a 
feature that must be enable! 
I have found a quick way to fix this problem: 
Replacing : 
"
      <while test="${field:action} == reject"/>
"
with 
"
        <while>
                <equals field-value="action" other-value="reject" />
      </while>
"
and 
"
<process-definition name="to-publisher">
    <participant ref="group-publisher"/>
</process-definition>
"
with
"
<process-definition name="to-publisher">
        <sequence>
        <!-- reset the assignTo field  so the editor not longer see the 
workflow items -->
                <unset field="assignTo"/>
                <participant ref="group-publisher" />
        </sequence>
</process-definition>
"

Hope this helps!
Thanks for your great work!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to