Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
V2 2.0.12
-
None
-
None
Description
Our customers discovered that malformed JSON payload causes CAP to expose the details of the implementation to end users.
The offending message is here https://github.com/google/gson/blob/503c20bb392e10fd6ffa9a12afdc33d2ba2d2c38/gson/src/main/java/com/google/gson/stream/JsonReader.java#L1412
Olingo wraps all the exceptions under EntityProviderException with message reference EXCEPTION_OCCURED. To filter that on CAP side, we need more specific message reference.
I have attached suggested changes as a patch.