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

Order of the User Attribute Mapping fields are change after a Page refresh

    Details

      Description

      Test setup

      1. Have a Portal with the default and one new virtual instance (localhost:8080 and www.able.com:8080)
      2. Login to localhost:8080 as Instance admin and enable Identity Provider SAML role.

      Repro

      1. Login to the new virtual instance as Instance Administrator (www.able.com:8080)
      2. Go to System Settings / Security / SAML
      3. Select "Service Provider" as SAML role
      4. Enter a name for the Service Provider role
      5. Save the form
      6. Go to Identity Provider Connections tab
      7. Click Add
      8. Fill out the mandatory fields
      9. Scroll down to User Resolution and Attribute Mapping area
      10. Add one extra User Attribute Mapping row and select "firstName" as User Field Expression
      11. Enter "firstName" also, into the SAML Attribute field
      12. Add a second extra User Attribute Mapping row and select "lastName" as User Field Expression
      13. Enter "lastName" also, into the SAML Attribute field
      14. Add a third extra User Attribute Mapping row and select "UUID" as User Field Expression
      15. Enter "uuid" also, into the SAML Attribute field
      16. Notice the order of the fields from top to bottom is: firstName, lastName, uuid
      17. Save the form and wait for the page to reload
      18. Verify that the order of the files should be the same.

      Actual
      The order of the fields is changed each time a new field is added or removed.

      Expectation
      The order of the fields should represent the same order what was visible during edit time.

      Before save:

      After save:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              gabor.lovas Gábor Lovas
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Stian Sigvartsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                24 weeks ago

                  Packages

                  Version Package
                  7.4.2 CE GA3 DXP 7,4
                  7.4.13 DXP GA1
                  Master