Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed

      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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 22 weeks, 3 days ago

                Subcomponents