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

Attempting to save invalid definition in Workflow Definition editor will erase all xml

    Details

      Description

      Steps to Reproduce:

      1. Go to Control Panel > Workflow Definition
      2. Edit Single Approver
      3. Modify inline xml to be invalid
      4. Save

      Expected Result:
      Validation error given to the user.

      Actual Result;
      Error given "Please enter a valid file."
      Xml editor is now blank.

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7.17. Portal master GIT ID: 6b3d8281bdd1d87406320339b8ce82d875dcaf47.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              victor.ware Victor Ware
              Reporter:
              victor.ware Victor Ware
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.1.X
                  Master