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

Partially revert LPS-58127. Instead create an opt-out for custom validator required.

    Details

      Description

      We are going to revert back to the AUI-533 behavior, by default, and provide an opt-out attribute to make custom rules optional. Existing custom validators should work, without any changes necessary.

      See conversation at: https://github.com/liferay/alloy-ui/commit/3315c7aa85f2f6d74bbb319f6c1a70bb1aae1fa1#commitcomment-13858574

      Setup Site URL Tests:

      1. Enable Staging (Control Panel > Sites > Site Settings >Staging > Local Live)
      2. Goto Site URL ( Control Panel > Sites > Site Settings > Site URL)

      Site URL: Blank Test:

      1. Tab/Click through the fields:
        • Public Pages
        • Private Pages
        • Staging Public Pages
        • Staging Private Pages

      Expected Result: No validation (green or red) should occur.

      Actual Result: Same (there are no current issues here)

      Site URL: Same URL Test:

      1. Add values to the fields:
        • Public Pages: SAMEURL
        • Private Pages: SAMEURL
        • Staging Public Pages: SAMEURL
        • Staging Private Pages: SAMEURL
      2. Tab/Click through the fields:

      Expected Result: Private Pages & Staging Private Pages should error (red)
      Actual Result: Same (there are no current issues here)

      Site URL: Unique URL Test:

      1. Add values to the fields:
        • Public Pages: SAMEURL
        • Private Pages: UNIQUEURL
        • Staging Public Pages: SAMEURL
        • Staging Private Pages: UNIQUEURL
      2. Tab/Click through the fields:

      Expected Result: Private Pages & Staging Private Pages should be valid (green)
      Actual Result: Same (there are no current issues here)


      Setup Basic Document Test

      1. Add Documents and Media portlet to a page
      2. Click Add > Basic Document

      Basic Document: Blank Test

      1. Click Publish

      Expected Result: Error Validation message (red) on Title field should display and the form should not submit.
      Actual Result: Same (there are no current issues here)

      Basic Document: File Test

      1. Click Choose File
      2. Select a file from computer
      3. Leave Title field blank
      4. Click Publish

      Expected Result: Form should submit. Should bring you back to file list with a message "Your request completed successfully".
      Actual Result: Same (there are no current issues here)

      Basic Document: Title Test

      1. Add a value (asdf) to the Title field
      2. Click Publish

      Expected Result: Form should submit. Should bring you back to file list with a message "Your request completed successfully".
      Actual Result: Same (there are no current issues here)


      Cache Stats Test (Control Panel > System > Server Administration > Cache Statistics)

      • Search for: "Journal"
        Expected Result: Filtered Results
        Actual Result: Same (there are no current issues here)
      • Search for: ""
        Expected Result: All/Unfiltered Results
        Actual Result: Same (there are no current issues here)
      • Search for: "@#$"
        Expected Result: Validation Error
        Actual Result: Same (there are no current issues here)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                felix.zhang Felix Zhang
                Reporter:
                byran.zaugg Byran Zaugg (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 47 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.5 CE GA6
                  6.2.X EE