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

OData-URL 5.1.1.15 does not explain example 106

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      Rephrase section 5.1.1.15:

      Properties and navigation properties of the structured type on which a common expression is evaluated can be used as operands or function parameters, as shown in the preceding examples.

      Show
      Rephrase section 5.1.1.15: Properties and navigation properties of the structured type on which a common expression is evaluated can be used as operands or function parameters, as shown in the preceding examples.

      Description

      Example 106 in OData-URL

      http://host/service/Customers?$expand=Orders($filter=$it/Address/City eq ShipTo/City)
      

      uses the navigation property ShipTo of the Orders navigation target. According to section 5.1.1.15, however, ShipTo should be equivalent to $it/ShipTo, a property of the addressed resource Customers:

      Properties and navigation properties of the entity type of the set of resources that are addressed by the request URL can be used as operands or function parameters, as shown in the preceding examples.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              heiko.theissen Heiko Theissen
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: