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

As LCS Developer I need JSON WS Service Client to rcognize improved REST error responses

    Details

      Description

      Improved error response has more informative content related to origin of error in form:
      "errorCode\":\\s*(\\d+).message\":.+status\":\\s*(
      d
      )"

      where:

      • errorCode is arbitrary integer developer gives to error
      • message is human readable cause of error
      • status is HTTP STATUS used to respond to request

      NOTE: client should continue to detect classic exception presence in rest response which liferay json ws services return in a case of error.

        Attachments

          Activity

            People

            • Assignee:
              joshua.chong Joshua Chong
              Reporter:
              igor.beslic Igor Beslic
              Recent user:
              Joshua Chong
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.0.0 DXP SP2
                7.0.3 CE GA4
                Master