Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1.5, 2.0.0
-
None
Description
PLT.17.2 states:
If the request is done in the context of an un-authenticated user, calls to the getAttribute method of the request using the USER_INFO constant must return null.
Currently the PortletRequestImpl.createUserInfoMap() does not handle the case of UserInfoService.getUserInfo returning null for an unauthenticated user and will throw a NullPointerException in this case.