Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1028

4.3.4 and 4.4: clarify resolution of relative URLs in system query option $id

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA03
    • Fix Version/s: V4.01_CSD02
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      Applied

      Description

      4.3.4 Resolving an Entity-Id states that

      The entity-id may be expressed as an absolute IRI or relative to the service root URL.

      Example 23: request the entity representation for an entity-id
      http://host/service/$entity?$id=Products(0)

      This was correct until we introduced type-cast segments after $entity with ODATA-528.

      Now relative URLs should rather be relative to the request URL, as in all other places, especially in

      4.4 Addressing References between Entities

      The entity-id specified by $id may be expressed absolute or relative to the request URL.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: