Closed malaskowski closed 7 years ago
To verify.
Here you have 2 different things:
when service response has empty body, allow to display page without service body values in html (integration test added here https://github.com/Cognifide/knotx/pull/198/files)
when configuration for using service is missing, in fragment processing is: java.util.NoSuchElementException: No value present improvement for logging this issue will be done in another task (https://github.com/Cognifide/knotx/issues/199)
When I changed fourh.json from "{}" to "" I had 500 error.
When Service Adapter returns
clientResponse
withoutbody
following exception occurs:E.g. case:
Service response with status code
200
and body response when resource is available. Otherwise service response is status code400
with no body.