-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 7.0.X EE, Master
-
Fix Version/s: Master
-
Component/s: Business Productivity > Kaleo Designer
-
Labels:None
-
Fix Priority:4
When we add an XML document to the "Source" from Kaleo Designer and then go to the "View" mode, some content can be added to specific nodes, resulting in a different workflow definition than the one first given.
Steps to reproduce
- Go to Kaleo Designer.
- Go to the "Source (Kaleo XML)" mode.
- Replace the content of the editor with the content from single-approver-3.xml
.
- Go back to the "View" mode.
- Go back to the "Source (Kaleo XML)" mode.
- Compare the resulting XML document to the original one we got from single-approver-3.xml
.
Expected results
- The content we got from the editor would be identical to the one from single-approver-3.xml. At most, some formatting changes would be applied.
Actual results
- Where we had
<transition> <name>review</name> <target>review</target> </transition>
now we have an extra <default>true</default> added at line 18.
<transition> <name>review</name> <target>review</target> <default>true</default> </transition>
- Where we had
<notification> <name>Creator Modification Notification</name> <template> <![CDATA[]]> </template> <template-language>freemarker</template-language> <notification-type>email</notification-type> <notification-type>user-notification</notification-type> <execution-type>onAssignment</execution-type> </notification>
now we have this:
<name>Creator Modification Notification</name> <template> <![CDATA[]]> </template> <template-language>freemarker</template-language> <notification-type>user-notification</notification-type> <recipients> <user/> </recipients> <execution-type>onAssignment</execution-type> </notification>
In this new result:
-
- <notification-type>email</notification-type> line was deleted;
- The lines below were added:
<recipients> <user/> </recipients>
-
- The same happened to the node at line 85.
- Where we used to have
<notification> <name>Review Completion Notification</name> <template> <![CDATA[]]> </template> <template-language>freemarker</template-language> <notification-type>email</notification-type> <recipients receptionType="to"> <user/> </recipients> <execution-type>onExit</execution-type> </notification>
now we have
<notification> <name>Review Completion Notification</name> <template> <![CDATA[]]> </template> <template-language>freemarker</template-language> <notification-type>email</notification-type> <recipients> <user/> </recipients> <execution-type>onExit</execution-type> </notification>
i.e the receptionType="to" attribute from recipients was dropped.
- Where we used to have
<role> <role-type>organization</role-type> <name>Organization Administrator</name> </role>
now we have an extra <auto-create>false</auto-create> line:
<role> <role-type>organization</role-type> <name>Organization Administrator</name> <auto-create>false</auto-create> </role>
- Where we used to have
<transition> <name>approve</name> <target>approved</target> </transition>
now we have an extra <default>true</default> line:
<transition> <name>approve</name> <target>approved</target> <default>true</default> </transition>
Visual example
- duplicates
-
LPS-74907 Kaleo Designer removes notification type form XML document when changing to "View" mode
- Closed
- is duplicated by
-
LPS-74907 Kaleo Designer removes notification type form XML document when changing to "View" mode
- Closed
-
LPS-74908 Kaleo Designer adds a <recipients> element to XML document when changing to "View" mode
- Closed
-
LPS-74909 Kaleo Designer removes the "receptionType="to"" attribute from XML document when changing to "View" mode
- Closed
- is related to
-
LPS-76099 Default "receptionType" values result in validation error in Kaleo Designer 7.0.x-private
-
- Closed
-
-
LPS-76192 Kaleo Designer fails to display Single Approver's XML content
- Closed
- Testing discovered
-
LPS-75620 Kaleo Designer removes the "receptionType="to"" attribute and changes recipients from XML document when changing to "View" mode
- Closed
-
LPS-75988 Kaleo Designer fails to render diagram if a node in the definition XML does not have metadata
- Closed