PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32335

Text fields marked as "required" are not mandatory in IE 7-9 nor Safari browsers

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2
    • Fix Priority:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Reproduced in 6.1.x rev. 134345
      Reproduced in Trunk rev. 134035

      Steps to reproduce:
      1. Start Portal
      2. Create portlet with 2 required fields.
      3. Add portlet to page.
      4. Both fields of the portlet are required.
      5. Only fill in one and click Submit.

      Results:
      Expected: You should not be allowed to submit and an error should
      tell you to fill in both require fields.

      Actual: This is true for Firefox and Chrome.
      However in IE7-9, you are able to submit if only one (or none) of the fields are filled in.
      See attached images for results.

      IE 7-9 (and I believe Safari as well) can't recognize the HTML5 "required" attribute, so there should be an AUI workaround for those browsers. Otherwise, we'll have to write javascript validation code every time.

        Activity

        Hide
        Pani Gui (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

        Able to submit empty required fields on IE browsers.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 5deda67a59216847b4107af178e2b489d3247bd7.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 8b3d3bc1f59cd7a6efcedc8ac83a779c54b2e211.

        Do not submit empty required fields and tell you to fill in required fields.

        Show
        Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Able to submit empty required fields on IE browsers. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 5deda67a59216847b4107af178e2b489d3247bd7. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 8b3d3bc1f59cd7a6efcedc8ac83a779c54b2e211. Do not submit empty required fields and tell you to fill in required fields.

          People

          • Assignee:
            Pani Gui (Inactive)
            Reporter:
            Jeffrey Tuason (Inactive)
            Recent user:
            Esther Sanz
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

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

              Development

                Structure Helper Panel