Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1276

Client incorrectly parses stream with left brace in JSON string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • (Java) V4 4.4.0
    • (Java) V4 4.7.0
    • odata4-client
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lievekr Kristof Lievens
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: