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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.2
    • 3.2 M1
    • Kaleo Designer
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 44 weeks ago

              Packages

                Version Package
                3.2 M1