Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
V2 2.0.0
-
None
Description
Steps necessary to reproduce this:
(1) Create new instance (including client generated GUID primary key)
(2) Link this instance to another already existing instance of a different entity
While the exact same requests work fine when executed as single requests, the second one fails when executed in batch. I debugged into the olingo code and the exception is thrown at org.apache.olingo.odata2.jpa.processor.core.access.data.JPALink:276
It looks like the wrong UriInfo is passed into that function. At first glance, this function receives the UriInfo from the outer batch request instead of the info for the link request.