Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3407

PrimeFaces Users portlet throws NoSuchMethodError on render of user portrait in Liferay 7.2

    Details

      Description

      Steps to reproduce:

      1. Start Liferay.
      2. Deploy the PrimeFaces Users portlet.
      3. Sign in to Liferay.
      4. Click Menu > Control Panel > Users > PrimeFaces Users.
      5. Click on the "Test" user.

      If the bug still exists, the portrait will not appear and the following error will appear in the logs:

      14:19:08,761 ERROR [ExceptionHandlerBridgeImpl:81] javax.el.ELException: /WEB-INF/views/users.xhtml @52,32 value="#{usersModelBean.selectedUserPortraitURL}": java.lang.NoSuchMethodError: com.liferay.portal.kernel.model.UserConstants.getPortraitURL(Ljava/lang/String;ZJ)Ljava/lang/String;
      

      This bug also causes the following Selenium test failures/errors:

      Results :
      
      Tests in error:
        PrimeFacesUsersPortletTester.runPrimeFacesUsersPortletTest_D_DetailViewErrorMessages:382 » NoSuchElement
        PrimeFacesUsersPortletTester.runPrimeFacesUsersPortletTest_E_DetailViewFileUpload:418->filterColumnByFullScreenName:614 » NoSuchElement
        PrimeFacesUsersPortletTester.runPrimeFacesUsersPortletTest_F_DetailViewChangeUserAttributes:487->filterColumnByFullScreenName:614 » NoSuchElement
      
      Tests run: 6, Failures: 0, Errors: 3, Skipped: 0
      

      If the bug is fixed, the portrait will appear and the error will not appear in the logs.

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann
              Reporter:
              kyle.stiemann Kyle Stiemann
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: