Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In UriHelperImpl class, when property is null, an exception is thrown. There is only 1 argument passed to the Message Key. However, the actual error message is expecting 2 arguments which is throwing the exception
Missing replacement for place holder in message 'The value '%2$s' is not valid for property '%1$s'.' for following arguments '[ID]
Error at
at org.apache.olingo.server.core.uri.UriHelperImpl.findPropertyRefValue(UriHelperImpl.java:127) ~[odata-v4-lib-1.2.0-20200114.114227-90.jar:?]
at org.apache.olingo.server.core.uri.UriHelperImpl.buildKeyPredicate(UriHelperImpl.java:88) ~[odata-v4-lib-1.2.0-20200114.114227-90.jar:?]