All settings are lost when the Template contains the "%" character in the Workflow Definition
Rafael Regner
更新
Issue
I created a notification in a node of my Workflow and inside the Template field I placed a content that has the character "%", for example:
<![CDATA[We received your shipment %]]>
After saving and reopening the Workflow, all settings are lost.
The following error appears in the DevTools Console:
Uncaught(in promise)URIError: URI malformed at decodeURIComponent (<anonymous>) at c.sanitizeDefinitionXML (xmlDefinition.js:345:11) at new c (xmlDefinition.js:23:16) at c.updateXMLDefinition (deserializeUtil.js:245:25) at DiagramBuilder.js:359:7
Environment
Liferay DXP 7.4 Update 39
Resolution
The observed behavior is a known issue which is addressed via:LPS-166206-Decoding of URI is unsuccessful when the template contains "%" character in Workflow Definition.