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

Add Page Side Panel - "This field is required" message for Name field appears when it shouldn't and does not appear when it should

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE RC1, 6.2.0 CE RC2
    • Fix Version/s: 6.2.0 CE RC2
    • Labels:
      None
    • Environment:
      Tomcat 7.0.40 + MySQL 5. Portal master GIT ID: 841429d6a56bb6ffd736d14762727f5b8331ca73.

      Description

      The message "This field is required." will show up when it shouldn't and won't show up when it should.

      It is expected that this message will show up if the user clicks "Add Page" without entering a name, and that this message should not show up if the user wasn't intentionally trying to adding a page without a name.

      I've attached 2 gif's.

      • Add_Page1.gif - covers steps 1-3
      • Add_Page2.gif - covers steps 5-7

      Steps to reproduce:

      1. Click the "Add" icon (plus symbol)
      2. Click "Page"
      3. Without entering a page name, click "Add Page"
        • The message "This field is required." will display briefly, then the side panel will appear to refresh, and then the message will go away.
      4. Refresh the page
      5. Click the "Add" icon (plus symbol)
      6. Click "Page"
      7. Click anywhere else in the browser.
        • This causes the "This field is required." message to show up.

      Expected result:
      The message "This field is required." should only appear if the user attempts to add a page without entering a name.

      Actual result:
      The message "This field is required." will appear if the user clicks into the field and then clicks away. The message won't appear when the user attempts to add a page without entering a name.

        Attachments

        1. Add_Page1.gif
          Add_Page1.gif
          485 kB
        2. Add_Page2.gif
          Add_Page2.gif
          200 kB
        3. Fixed.gif
          Fixed.gif
          397 kB

          Issue Links

            Activity

              People

              • Assignee:
                brian.chiu Brian Chiu (Inactive)
                Reporter:
                brian.chiu Brian Chiu (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 9 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.0 CE RC2