Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.X, 7.2.X, Master
-
7.2.x, 7.1.x
-
Committed
-
3
Description
Steps to Reproduce (Non-CE Versions Only)
1a. On master, navigate to Global Menu (3x3 grid icon on top-right of page) > Process Builder
1b. On branch, navigate to Control Panel > Configuration > Workflow
2. Create a new workflow
3. Paste the contents of definition.txt as the workflow definition and save
Expected Results
There are no differences in the workflow definition after saving
Actual Results
Example of a difference corresponding to the "approved" element (near line 25 of definition.txt):
Before
<script> <![CDATA[ import com.liferay.portal.kernel.workflow.WorkflowStatusManagerUtil; import com.liferay.portal.kernel.workflow.WorkflowConstants; WorkflowStatusManagerUtil.updateStatus(WorkflowConstants.getLabelStatus("approved"), workflowContext); ]]> </script>
After
<script><![CDATA[import com.liferay.portal.kernel.workflow.WorkflowStatusManagerUtil; import com.liferay.portal.kernel.workflow.WorkflowConstants; WorkflowStatusManagerUtil.updateStatus(WorkflowConstants.getLabelStatus("approved"), workflowContext);]]></script>
Attachments
Issue Links
- Testing discovered
-
LPS-114933 CDATA blocks in an embedded FreeMarker template of a workflow definition are not formatted correctly on CE version only
- Closed