Christian Amend closed OLINGO-1003.
       Resolution: Fixed
         Assignee: Christian Amend
    Fix Version/s: (Java) V4 4.3.0

Fixed with commit: 

> Binary content in batch requests gets corrupted
> -----------------------------------------------
>                 Key: OLINGO-1003
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1003
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.2.0
>            Reporter: Frederik Zimmer
>            Assignee: Christian Amend
>             Fix For: (Java) V4 4.3.0
>         Attachments: 
> OLINGO1003-Binary-content-in-batch-requests-gets-cor.patch
> Batch requests can contain binary data e.g. for a media entity. 
> BatchLineReader reads the binary data as a UTF-8 string and 
> BatchRequestTransformator tries to extract the original bytes from the UTF-8 
> string.
> Converting arbitrary binary data into an UTF-8 string and retrieving the 
> bytes from the UTF-8 string will not always return the original bytes the 
> string was created from.
> Don't interpret binary data as strings.
> I have attached a fix for the testcase for binary data in 
> BatchRequestParserTest which doesn't compare binary data but compares strings.

This message was sent by Atlassian JIRA

Reply via email to