-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 7.1.X, Master
-
Fix Version/s: None
-
Component/s: Business Productivity > Kaleo Designer
-
Labels:
-
Story Points:1
-
Fix Priority:3
-
Sprint:F&W Sprint 3
Requires Kaleo Designer
Steps to Reproduce:
- Go to Control Panel > Configuration > Workflow
- Add a new definition
- Upload the attached workflow definition with the following XML source:
<recipients> <user/> </recipients>
- Attempt to Publish the Definition
- View XML Source
Expected Result:
XML source is preserved on upload.
Actual Result:
XML source is modified on upload. Cannot publish due to XSD error.
Changed to:
<recipients receptionType="to"> <assignees/> </recipients>
Error:
Caused by: org.dom4j.DocumentException: Error on line 23 of document : cvc-complex-type.2.4.a: Invalid content was found starting with element 'assignees'. One of '{"urn:liferay.com:liferay-workflow_7.1.0":address, "urn:liferay.com:liferay-workflow_7.1.0":roles, "urn:liferay.com:liferay-workflow_7.1.0":scripted-recipient, "urn:liferay.com:liferay-workflow_7.1.0":user}' is expected. Nested exception: cvc-complex-type.2.4.a: Invalid content was found starting with element 'assignees'. One of '{"urn:liferay.com:liferay-workflow_7.1.0":address, "urn:liferay.com:liferay-workflow_7.1.0":roles, "urn:liferay.com:liferay-workflow_7.1.0":scripted-recipient, "urn:liferay.com:liferay-workflow_7.1.0":user}' is expected. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:368) ... 197 more
Reproduced on:
7.1.x-private: 558f192a4b5d0a087ad22b20962f48155b8ac5e1
Not Reproducible on:
7.1 DXP GA1
- duplicates
-
LPS-84232 Cannot change the Recipient Type of Review Completion Notification to Asset Creator
- Closed