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

PrincipalException doesn't output userId and resourceId when thrown

    Details

      Description

      Steps to reproduce:

      1. Create a new user and sign in
      2. Go to http://localhost:8080/api/jsonws and find method get-user-by-email-address
        1. companyId: current company id
        2. emailAddress: test@liferay.com
      3. Submit form

      Expected result: Exception message contains user IDs, for example "User 20975 must have VIEW permission for com.liferay.portal.kernel.model.User 20349"
      Actual result: Message "User must have VIEW permission for com.liferay.portal.kernel.model.User "

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 Beta 8