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

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.1.0 Alpha
    • Fix Version/s: None
    • Component/s: Web Services > JSON WS
    • Labels:
      None
    • Fix Priority:
      2

      Description

      Using curl like this:

      curl http://localhost:8080/api/jsonws/assetentry/get-entries \
      -u test@liferay.com: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 test@liferay.com:test \
      -d entryQuery={}

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

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                11 weeks, 4 days ago

                Packages

                Version Package