[
https://issues.apache.org/jira/browse/OLINGO-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristof Lievens updated OLINGO-1276:
------------------------------------
Description:
When a JSON string contains a '{' character, the response stream is incorrectly
parsed into OData entities by the
org.apache.olingo.client.api.domain.ClientEntitySetIterator class.
Please check the patch file in attachment with a fix for the issue.
This bug has already been reported in February 2015, see
[https://github.com/apache/olingo-odata4/pull/4.] I didn't notice the fix
linked to this Github issue before I started coding my own fix, but it looks
pretty similar.
was:When a JSON string contains a '{' character, the response stream is
incorrectly parsed into OData entities by the
org.apache.olingo.client.api.domain.ClientEntitySetIterator class.
> Client incorrectly parses stream with left brace in JSON string
> ---------------------------------------------------------------
>
> Key: OLINGO-1276
> URL: https://issues.apache.org/jira/browse/OLINGO-1276
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Affects Versions: (Java) V4 4.4.0
> Reporter: Kristof Lievens
> Priority: Blocker
> Fix For: (Java) V4 4.5.0
>
> Attachments:
> 0001-fixes-issue-when-JSON-stream-contains-a-left-brace-i.patch
>
>
> When a JSON string contains a '{' character, the response stream is
> incorrectly parsed into OData entities by the
> org.apache.olingo.client.api.domain.ClientEntitySetIterator class.
> Please check the patch file in attachment with a fix for the issue.
> This bug has already been reported in February 2015, see
> [https://github.com/apache/olingo-odata4/pull/4.] I didn't notice the fix
> linked to this Github issue before I started coding my own fix, but it looks
> pretty similar.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)