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

Forms with a combination of a required Text Field with validation and Form Text breaks the Forms portlet.

    Details

      Description

      Due to divergences in Forms processing (e.g. LPS-68782), this is a 70x unique fix.

      Steps to reproduce
      1. Content -> Forms, create a new Form
      2. Add two fields:
      a. Text Field
      Make sure to set it to Required and enable some form of validation (e.g. URL or email).
      b. Form Text
      Label the fields to whatever you want. I just put one letter
      3. Save the Form
      4. Create a page
      5. Add the Forms portlet on the page, then choose the form you created
      6. Fill out the text field and submit the form.

      Results of Testing
      Expected Result: The form will be submitted
      Actual Result: The form is not submitted, the Forms portlet stops working, and NPEs are thrown in the stack trace

      Master
      Does not Reproduce: 1d7d57fa1326f8dfc328a37907c29df7b7b6c181

      Branch
      Reproduced: 7ae1301500db6a883ee9ce2eb23b261abc126688

        Attachments

          Activity

            People

            Assignee:
            joyce.wang Joyce Wang
            Reporter:
            lianne.louie Lianne Louie
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP59
                7.0.0 DXP SP9
                7.0.X