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

Required field validation prevents "Cancel" operation

    Details

      Description

      Reproduction steps:

      Method 1 to reproduce:
      1) Patch DXP with latest fix pack (today: de-55) and start the server, login as Admin
      2) Go to left Product Navigation Menu > Liferay DXP Site > Content > Web Content
      3) Click the button to create a Basic Web Content
      4) Do nothing other than clicking on "Cancel" button at the bottom

      Expected behavior: Operation to be cancelled (that is: the forrm to create a new Basic Web Content to close and DXP to navigate back to the Liferay DXP Site > Content > Web Content
      Actual behavior: Validation fires and Cancel operation stops, as the Title is a required field and it is empty

      5) Click once again on "Cancel": DXP will work as per "expected behavior" above

      Method 2 to reproduce:
      6) Go to Product Navigation Menu > Liferay DXP Site > Content > Categories
      7) Click on the button to add a new Vocabulary
      8) Do nothing other than clicking on "Cancel" button at the bottom

      Expected behavior: Operation to be cancelled (that is: the forrm to create a new Basic Web Content to close and DXP to navigate back to the Liferay DXP Site > Content > Categories)
      Actual behavior: Validation fires and Cancel operation stops, as the Title is a required field and it is empty

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              raven.song Raven Song
              Reporter:
              gregory.bretall Gregory Bretall (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.1.10 DXP FP3
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master