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

properties in [propertyList] of context URL may be qualified with type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CS01
    • Fix Version/s: V4.0_CSD03
    • Component/s: ABNF, Protocol
    • Labels:
      None
    • Environment:

      [Applied]

      Description

      Our current context URL for projected entities includes the selected properties:

      {context-url}

      #

      {entity-set} {/type-name} {property-list}

      The abnf for property-list is:
      propertyList = OPEN propertyListItem *( COMMA propertyListItem ) CLOSE
      propertyListItem = STAR ; all structural properties
      / propertyListProperty
      propertyListProperty = primitiveProperty
      / primitiveColProperty
      / navigationProperty [ '+' ] [ propertyList ]
      / selectPath [ "/" propertyListProperty ]

      However, we need to be able to support properties being prefixed with type for the following types of queries:

      ~People?$select=ns.SalesPerson/Department,ns.Cashier/Register

      Which should yield:

      http://host/service/$metadata#People(ns.SalesPerson/Department,ns.Cashier/Register)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: