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

Revision 94832 of UserLocalServiceImpl produced NPE when null param attribute supplied

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed

      Description

      Changes submitted to UserLocalServiceImpl as part of revision 94832 break our custom portlets that call the search method.

      The SVN comment is:

      LPS-23750 Organization, Sites, and Journal Articles - Searching by tags returns no results
      

      The following was added

      params.put("keywords", keywords);
      

      however no attempt has been made prior to this to establish if params is not null.

      The JavaDoc clearly states:

      @param  params the indexer parameters (optionally <code>null</code>). For
      	 *         more information see {@link
      	 *         com.liferay.portlet.usersadmin.util.UserIndexer}.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shinn.lok Shinn Lok (Inactive)
              Reporter:
              richard.gibson Richard Gibson (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 25 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2