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

Loss of data occurs when attempting to save a form with a required field not filled

    Details

      Description

      Description:
      Attempting to save a form that has no text entered in a required field will result in a loss of data in other fields that have already been saved.

      Steps to Reproduce:
      1. Go to Content > Forms > Create a new form
      2. Create 2 pages, each with a Title, Description and Paragraph Field that displays text in the description
      3. Save the form
      4. Add 2 more Paragraph Fields to the first page of the form.
      5. For the 2nd Paragraph Field, do not fill in Body Text (required)
      6. Click Save Form

      Expected: Receive an error asking you to correct that input
      Actual: Receive an error asking you to correct that input but the text is now missing from all the input fields. (The Titles of the pages are now all Untitled, the text in the descriptions of the page and Paragraph Fields are blank.)

      Additional Testing:
      71x: 61ad20e11088a28bb1c2771fa7446eba5a009522
      Issue reproduced in branch.

      Master: 4fb4372f1ecaff937deb14cb16aed303158cebcd
      Issue reproduced in master.

        Attachments

          Activity

            People

            • Assignee:
              joyce.wang Joyce Wang
              Reporter:
              il.kim Brian I. Kim
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 34 weeks, 4 days ago

                Packages

                Version Package
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master