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

Log message in UserEmailAddressException.MustNotBeDuplicate should be more generic

    Details

      Description

      Steps to Reproduce:

      1. Add a user with the email address test2@liferay.com
      2. Go to Server Administration - Script and execute updateUser.groovy

      Expected Results
      The error message is generic and covers both create and update scenarios.

      Actual Results
      The error message specifically references created which does not apply to this situation of updating a user:

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              jonathan.mccann Jonathan McCann
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                49 weeks, 2 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP4
                  7.2.X
                  7.3.0 CE GA1
                  7.3.1 CE GA2
                  7.3.10 DXP GA1
                  Master