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

Form fields can incorrectly pass validation during page refresh

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 Beta 2
    • Fix Version/s: 7.0.0 Beta 3
    • Component/s: Forms
    • Labels:

      Description

      Reproduced on:
      Tomcat 7.0.62 + MySQL 5.6.25. Portal master GIT ID: b47ed6e9efe85dd078ac208bf9a31fe511376867.

      Steps to Reproduce:

      1. Go to Liferay > Content > Forms
      2. Add New form
      3. Add New field > Checkbox
        1. Input Question
        2. Enable "Required Field"
        3. Enable "Show as a Switcher"
      4. Save field
      5. Save form
      6. Go to Liferay > Welcome page
      7. Add "Form" portlet
      8. Select Form > created checkbox form
      9. Enable switcher
      10. Click Submit
      11. While page is reloading, quickly click Submit again

      Expected Result:
      User cannot submit record before field passes validation.

      Actual Result:
      User can quickly click Submit again and form will submit without passing validation. Viewing the Form entries shows that the "No" checkbox record was successfully submitted.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 33 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 Beta 3