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

Unable to invoke JSONWS for modules that have their OrderByComparator in an API module

    Details

      Description

      Steps to Reproduce

      1. Login as a portal administrator
      2. Navigate to http://localhost:8080/api/jsonws
      3. Open up your browser's Javascript console and run the following:
      Liferay.Service(
        '/sap.sapentry/get-company-sap-entries',
        {
          companyId: themeDisplay.getCompanyId(),
          start: 0,
          end: 0,
          '+obc': 'com.liferay.portal.security.service.access.policy.util.comparator.SAPEntryNameComparator'
        },
        function(obj) {
          console.log(obj);
        }
      );
      

      Expected behavior is that the method call is successful, and returns 0 results. Actual behavior is you get the following error logged in the Javascript console:

      com.liferay.portal.security.service.access.policy.util.comparator.SAPEntryNameComparator cannot be found by com.liferay.portal.security.service.access.policy.service_###
      

        Attachments

          Activity

            People

            Assignee:
            minhchau.dang Minhchau Dang
            Reporter:
            minhchau.dang Minhchau Dang
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 23 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP47
                7.0.0 DXP SP8
                7.0.X
                7.1.0 Beta 1
                7.1.X
                7.2.X
                Master