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

NavigationLink missing from JSON with expand and metadata=full

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • (Java) V4 4.3.0
    • (Java) V4 4.4.0
    • odata4-server
    • None

    Description

      When a client request is like

      http://server/service/Entities?$expand=Children

      with header

      Accept: application/json;odata.metadata=full

      then the response should include in each Entity a navigationLink corresponding to the Children, as described here: http://docs.oasis-open.org/odata/odata-json-format/v4.0/errata03/os/odata-json-format-v4.0-errata03-os-complete.html#_Toc453766637

      e.g.
      "Items@odata.navigationLink" : "http://server/service/Entities(123)/Children"

      Suggested fix:
      https://github.com/apache/olingo-odata4/pull/17

      Attachments

        Activity

          People

            rareddy Ramesh Reddy
            jonmcewen Jon McEwen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: