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

Add detailed logs to indicate cause of invalid workflow content

    Details

      Description

      User has option to edit custom xml to create a workflow. When workflow content is invalid, there is no explanation for the error on screen or in logs.

      Reproduction Steps:
      1. From Control Panel > Kaleo Designer create a new workflow
      *Note that it only has 2 nodes, StartNode and EndNode
      2. Click on 'Source' tab
      3. Give the workflow a title
      4. Edit the xml content to make it invalid, ie. remove just the end tag

      </version>
      

      5. Publish

      Actual Result:
      As workflow definition is invalid, error message "Error: Please enter valid content" is displayed but is missing details to indicate which error it is in logs or screen

        Attachments

          Activity

            People

            Assignee:
            joyce.wang Joyce Wang
            Reporter:
            nelly.liu-peng Nelly Liu-Peng
            Participants of an Issue:
            Recent user:
            Tomáš Polešovský
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.1.10 DXP FP9
                7.1.10.2 SP2
                7.1.3 CE GA4
                7.1.X
                7.2.X
                Master