Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3711

Changing Task name in the editor does not update transitions that target this node

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.2 M1
    • Component/s: Kaleo Designer
    • Labels:
      None

      Description

      1) Open the basic "Single Approver" workflow in the editor (PFA) in Liferay Developer Studio
      2) Change the name of task "update" to "update_2"
      3) Go to workflow source and notice that the "target" attribute of transition "reject" is still set to "update" instead of "update_2"
      4) Try to upload the updated definition to Liferay DXP(you'll get the exception) /Go to Control Panel - Configuration - Workflow Definition)
      5) Click Save

      The operation fails to complete and the following exception can be seen in the log:

      08:54:01,359 WARN  [http-nio-8080-exec-8][ProxyMessageListener:86] com.liferay.portal.workflow.kaleo.definition.exception.KaleoDefinitionValidationException$MustSetTargetNode: The reject transition must end at a node
      com.liferay.portal.workflow.kaleo.definition.exception.KaleoDefinitionValidationException$MustSetTargetNode: The reject transition must end at a node
              at com.liferay.portal.workflow.kaleo.definition.internal.parser.BaseNodeValidator.validateTransition(BaseNodeValidator.java:48)
              at com.liferay.portal.workflow.kaleo.definition.internal.parser.BaseNodeValidator.validateTransitions(BaseNodeValidator.java:56)
      

        Attachments

          Activity

            People

            Assignee:
            haoyi.sun Haoyi Sun (Inactive)
            Reporter:
            zalan.szakolci Zalán Szakolci
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 43 weeks ago

                Packages

                Version Package
                3.2 M1