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

Log message in UserEmailAddressException.MustNotBeDuplicate is incorrect

    Details

      Description

      Reproduction steps:

      1. Configure Liferay to authenticate users based on their screen name
        company.security.auth.type=screenName
      2. Set up Liferay with LDAP
      3. Create a user in LDAP with e-mail address "test@liferay.com"
      4. Log in to Liferay with the created user

      Result The following error message is printed but the companyId and emailAddress are swapped.

      com.liferay.portal.kernel.exception.UserEmailAddressException$MustNotBeDuplicate: User 37862 cannot be created because a user with company usera@test.com and email address 20095 is already in use
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                della.wang Della Wang
                Reporter:
                jonathan.mccann Jonathan McCann
                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:
                  31 weeks ago

                  Packages

                  Version Package
                  7.2.10 DXP FP3
                  7.2.X
                  7.2.1 CE GA2
                  Master