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

Unsaved Liferay.AutoFields rows are lost when reloading page after validation error

    Details

      Description

      Reproduction steps:

      1. Configure Liferay as a SAML SP
      2. Click to add a new SAML "Identity Provider"
      3. Enter any "Name" and "Entity ID". This will satisfy client side validation and allow the form to be posted
      4. Under "Attribute Mapping", select "emailAddress" for the blank row that is shown
      5. Click the plus to add a new row, and for it select "firstName"
      6. Press "Save"

       Expected result: The page is reloaded with validation errors, two attribute mapping rows are rendered, and for them the "emailAddress" and "firstName" options remain selected

       Actual result: The Attribute Mapping section shows as it did after step 2.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              stian.sigvartsen Stian Sigvartsen
              Participants of an Issue:
              Recent user:
              Rafaela Nascimento
              Engineering Assignee:
              Stian Sigvartsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                13 weeks, 6 days ago

                  Packages

                  Version Package
                  7.4.1 CE GA2 DXP 7,4
                  7.4.2 CE GA3 DXP 7,4
                  Master