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

OrganizationLocalServiceImpl.addOrganization() does not accept null ServiceContext

    Details

      Description

      For the serviceContext parameter, the javadoc for the function says

      serviceContext the organization's service context (optionally null).

      But at line 214, we find the following check:

      if (serviceContext.isIndexingEnabled()) {

      ...which gives me an NPE even though I obey the method's contract when passing a null ServiceContext reference.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              perp Per Pettersson (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 27 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2