Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 3 results 

      Description

      Kaleo designer generates wrong xml content that not validates against the XSD.

      Steps to reproduce:

      • Create a new Kaleo Form process
      • In the workflow definition, include a state notification
      • Save the draft
      • Publish

      An error is generated. The root cause seems to be that the xml generated has elemens with invalid order:

      workflow.xml
      	<state>
      			<name>StartNode</name>
      			<metadata>
      				<![CDATA[{"xy":[100,40]}]]>
      			</metadata>
      			<initial>true</initial> <---------- THIS LINE HAVE TO BE BELOW THE <actions> SECTION
      			<actions>
      				<notification>
      					<name>NotificacionCreacion</name>
      					<description>Prueba</description>
      					<template>Prueba</template>
      					<template-language>text</template-language>
      					<notification-type>email</notification-type>
      					<recipients>
      						<roles>
      							<role>
      								<role-id>10445</role-id>
      							</role>
      						</roles>
      					</recipients>
      					<execution-type>onEntry</execution-type>
      				</notification>
      			</actions>
      			<transitions>
      				<transition>
      					<name>connector2324</name>
      					<target>task2095</target>
      					<default>true</default>
      				</transition>
      			</transitions>
      		</state>
      

      The xml generation is made in kaleo-designer-portlet/docroot/designer/js/main.js (toXML method)

        Activity

        Hide
        Serena Song (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: a0992fc0ccc718d4907082e62a964053a8304c2a.
        Plugin 6.2.x EE GIT ID: 8ee33e10a56b1fed873b04e079b6f3187ddc67b5.

        An error is generated.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 6c4fce12e53d1b0e98a3c774d19f2aab407abb5c.
        Plugin 6.1.x EE GIT ID: 6059361c9febe9dacb407c52ff2fe7809e156e76.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 838cef246e57e86ae29e9d7d4e145c22c9ffb53a.
        Plugin 6.2.x EE GIT ID: d5dd0da9abc134db5c8c1df6dcbd727b9aeec214.

        You can publish the Kaleo Form process successfully with no error.

        Show
        Serena Song (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: a0992fc0ccc718d4907082e62a964053a8304c2a. Plugin 6.2.x EE GIT ID: 8ee33e10a56b1fed873b04e079b6f3187ddc67b5. An error is generated. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 6c4fce12e53d1b0e98a3c774d19f2aab407abb5c. Plugin 6.1.x EE GIT ID: 6059361c9febe9dacb407c52ff2fe7809e156e76. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 838cef246e57e86ae29e9d7d4e145c22c9ffb53a. Plugin 6.2.x EE GIT ID: d5dd0da9abc134db5c8c1df6dcbd727b9aeec214. You can publish the Kaleo Form process successfully with no error.

          People

          • Assignee:
            Serena Song (Inactive)
            Reporter:
            Victor Miranda (Inactive)
            Recent user:
            Esther Sanz
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 27 weeks, 6 days ago

              Development

                Structure Helper Panel