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

Fix to LPS-48154 does not list out the correct user ID.

    Details

      Description

      Test Steps:
      1. Initialize a clean trunk bundle and configure its integration with Open SSO.
      2. Create 2 users in Open SSO and then assign the same email address to both of the created Open SSO users.
      3. Login the portal using the 2 created Open SSO users in sequence.

      Test Result:
      The error message will be thrown out when I attempted to login the portal using the second Open SSO user that has the same email address as the previous Open SSO user (a Liferay user has already been created for this Open SSO user because of its previous login).

      The sample error messages are:
      09:05:41,916 ERROR [http-bio-8080-exec-5][AutoLoginFilter:258] Current URL /c/portal/login?redirect=%2Fc generates exception: com.liferay.portal.UserEmailAddressException$MustNotBeDuplicate: Email address a@liferay.com must not be duplicate but is already used by user 10622
      09:05:41,943 ERROR [http-bio-8080-exec-5][AutoLoginFilter:258] Current URL /web/guest/home?p_p_state=maximized&p_p_mode=view&saveLastPath=false&_58_struts_action=%2Flogin%2Flogin&p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fc generates exception: com.liferay.portal.UserEmailAddressException$MustNotBeDuplicate: Email address a@liferay.com must not be duplicate but is already used by user 10623

      However, please note that neither 10622 nor 10623 is the correct user ID. The correct user ID in my case is 10601.

      Please kindly help to fix this issue.

      Issue reproduced on f13abcf029d384d6bc01d9d707f1c0137d4bc6a4, I did not test on 47ee734455bf47330a99430953e9da0a2fad6d50 since the newer version of trunk is not stable.

      Kindest Regards,
      Eric

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              eric.cheng Eric Cheng (Inactive)
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 46 weeks ago

                  Packages

                  Version Package