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

JSONWS services with AssetEntryQuery returns an object

Details

    • Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • 7.1.0 Alpha
    • None
    • Web Services > JSON WS
    • None
    • 2

    Description

      Using curl like this:

      curl http://localhost:8080/api/jsonws/assetentry/get-entries \
      -u [email protected]:test \
      -d +entryQuery=%7Basdf%7D

      I get this error:

      {"exception":"No JSON web service action with path /assetentry/get-entries and method POST for null","throwable":"com.liferay.portal.kernel.jsonwebservice.NoSuchJSONWebServiceException: No JSON web service action with path /assetentry/get-entries and method POST for null","error":{"message":"No JSON web service action with path /assetentry/get-entries and method POST for null","type":"com.liferay.portal.kernel.jsonwebservice.NoSuchJSONWebServiceException"}}

      But this works correct if I do this:

      curl http://localhost:8080/api/jsonws/assetentry/get-entries \
      -u [email protected]:test \
      -d entryQuery={}

      Maybe there is an error while adding the `+` symbol.

      Attachments

        Activity

          People

            brian.lee Brian Lee
            sarai.diaz Sarai Diaz (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 39 weeks, 1 day ago

              Packages

                Version Package