Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
3.6-m3
-
None
-
None
Description
When uploading a process definition (see below), upload confirmed ok, xml viewable by clicking the link in the Flow List.
Then go to Configuration/modules/workflow/config/flows/activation, value only contain the first line of the xml
Get back to the workflow upload screen, click on the Flow list then :
Erreur d'analyse XML : aucun élément trouvé
Emplacement : http://localhost:9190/magnoliaAuthor/.magnolia/pages/flows.html?command=showFlow&flowName=activation
Numéro de ligne 1, Colonne 57 :<process-definition name="activation" revision="j0.0.2">
--------------------------------------------------------^
This error occured with a fresh install, I believed it was a setup pb. No way to make the WFE running.
<process-definition name="activation" revision="j0.0.2">
<sequence>
<set field="activator" field-value="userName"/>
<!-- go to publisher first -->
<to-publisher/>
<!-- will loop if rejected -->
<if test="${field:action} == reject">
<revision-round/>
</if>
<log message="activate: ${field:action}"/>
<!-- if the last action was proceed: activate-->
<if test="${field:action} == proceed">
<activate/>
</if>
</sequence>
<process-definition name="revision-round">
<loop>
<while>
<equals field-value="action" other-value="reject"/>
</while>
<to-editor/>
<if test="${field:action} != proceed">
<break/>
</if>
<to-publisher/>
</loop>
</process-definition>
<process-definition name="to-publisher">
<sequence>
<!--
uncomment if you like to use an email notification
-->
<!--
<set field="mailTo" value="group-publishers"/>
<set field="mailTemplate" value="workflowNotification"/>
<participant ref="command-sendMail"/>
-->
<!--
reset the assignTo field so the editor no longers see the workflow item
-->
<unset field="assignTo"/>
<participant ref="group-publishers"/>
</sequence>
</process-definition>
<process-definition name="to-editor">
<sequence>
<!--
assign back to the user who launched the activation
-->
<set field="assignTo" field-value="activator"/>
<!--
uncomment if you like to use an email notification
-->
<!--
<set field="mailTo" value="user-${f:assignTo}"/>
<set field="mailTemplate" value="workflowNotification"/>
<participant ref="command-sendMail"/>
-->
<participant ref="group-editors"/>
</sequence>
</process-definition>
<process-definition name="activate">
<sequence>
<!-- wait if scheduled -->
<if>
<defined field-value="startDate"/>
<sleep until="${f:startDate}"/>
</if>
<!-- activate -->
<participant ref="command-activate"/>
<if>
<defined field-value="exception"/>
<!-- restart again -->
<activation/>
<break/>
</if>
<!-- deactivate (if scheduled)-->
<if>
<defined field-value="endDate"/>
<sequence>
<sleep until="${f:endDate}"/>
<participant ref="command-deactivate"/>
</sequence>
</if>
</sequence>
</process-definition>
</process-definition>
Checklists
Attachments
Issue Links
- depends upon
-
MAGNOLIA-2565 Support multiple lines content in Tree
-
- Closed
-