[ https://issues.apache.org/jira/browse/OLINGO-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493171#comment-17493171 ]
Prasanth Ganesh Rao commented on OLINGO-1554: --------------------------------------------- Submiting the patch with possible fix for review. Can someone check and assist? > Olingo V4 - Uniqueness of Content-ID in batch request > ----------------------------------------------------- > > Key: OLINGO-1554 > URL: https://issues.apache.org/jira/browse/OLINGO-1554 > Project: Olingo > Issue Type: Bug > Components: odata4-client > Affects Versions: (Java) V4 4.8.0 > Environment: SAP_GWFND 7.54 SP4 > Reporter: Kai Stritzelberger > Priority: Blocker > Labels: V4, batch, clientCore, odata4, olingo, olingo4 > Attachments: > 0001-OLINGO-1554-Fix-for-Uniqueness-of-Content-ID-in-requ.patch > > > Currently, the Olingo client core uses an ascending index for the Content-ID > header value which is unique in the individual changeset but not in the > complete batch request when using BatchManager.addChangeset API. > This leads to problems with SAPs OData V4 services and is not correct > according to the OData V4 spec: > 11.7.7.1 Multipart Batch Request Body > "[...] Each body part representing an operation in the change set MUST > specify a Content-ID header with a request identifier that is unique within > the batch request. [...]" -- This message was sent by Atlassian Jira (v8.20.1#820001)