Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-75988

Kaleo Designer fails to render diagram if a node in the definition XML does not have metadata

    Details

      Description

      If we write a definition in the XML editor from Kaleo Designer, and this definition has a node (state, task etc.) and this node does not have metadata, an error will prevent rendering the diagram when going back to visual mode.

      Steps to reproduce

      1. Go to Kaleo Designer.
      2. Click in the FAB to create a new definition.
      3. Click on the "Source (Kaleo XML)" tab.
      4. Paste the content from single-node.xml on it.
      5. Click on the "View" tab.

      Expected results

      • A single node would be rendered.

      Actual results

      • Nothing is rendered.
      • A message appears on the console. Something like:

        instance.getRandomXY is not a function.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                adam.brandizzi Adam Brandizzi
                Participants of an Issue:
                Recent user:
                Enterprise Release HU
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP58
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.X
                  7.2.X
                  Master