Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-477

PortletRequestImpl throws a NullPointerException when getting USER_INFO for unauthenticated users

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.5, 2.0.0
    • 1.1.6, 2.0.0
    • portlet container
    • 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.

      Attachments

        Activity

          People

            edalquist Eric Dalquist
            edalquist Eric Dalquist
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: