You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "mibo (JIRA)" <ji...@apache.org> on 2019/05/05 05:42:01 UTC

[jira] [Updated] (OLINGO-1276) Client incorrectly parses stream with left brace in JSON string

     [ https://issues.apache.org/jira/browse/OLINGO-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mibo updated OLINGO-1276:
-------------------------
    Fix Version/s:     (was: (Java) V4 4.6.0)
                   (Java) V4 4.7.0

> 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.7.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)