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

V4: ExpandOption created by the deserializer contains duplicates in deep instert cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • (Java) V4 4.1.0, (Java) V4 4.2.0
    • (Java) V4 4.3.0
    • odata4-server
    • None

    Description

      During the deserialization of deep instert payloads we create an ExpandOption object to help applications create the payload they have to send back to the client. Incase the deep insert payload contains a feed we create duplicate expand items for every entry within the inner feed. Since the serializer olny looks at the outer most ExpandOption the payload is incorrect.

      Solution: Prevent duplicate creation and have one SelectItem for every NavigationProperty.

      Attachments

        Activity

          People

            chrisam Christian Amend
            chrisam Christian Amend
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: