-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: portal-3.0.3
-
Fix Version/s: portal-3.0.4
-
Component/s: Liferay Faces Portal / Demos / Tests
-
Labels:None
Steps to reproduce:
- Start Liferay.
- Deploy the PrimeFaces Users portlet.
- Sign in to Liferay.
- Click Menu > Control Panel > Users > PrimeFaces Users.
- 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.