Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS02
    • Fix Version/s: V4.01_OS
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      Proposed, optimistically applied

    • Proposal:
      Hide

      Change current text:
      "For a 4.0 response, the expanded navigation property suffixed with parentheses MAY be omitted from the select-list if it does not contain a nested $select or $expand, but MUST still be present, without a suffix, if it is explicitly selected."
      to:
      "For a 4.0 response, the expanded navigation property suffixed with parentheses is omitted from the select-list if it does not contain a nested $select or $expand, but MUST still be present, without a suffix, if it is explicitly selected."

      Show
      Change current text: "For a 4.0 response, the expanded navigation property suffixed with parentheses MAY be omitted from the select-list if it does not contain a nested $select or $expand, but MUST still be present, without a suffix, if it is explicitly selected." to: "For a 4.0 response, the expanded navigation property suffixed with parentheses is omitted from the select-list if it does not contain a nested $select or $expand, but MUST still be present, without a suffix, if it is explicitly selected."
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/66374/odata-v4.01-wd09-part1-protocol-2019-12-09a.docx

      Description

      There are some issues and ambiguities in how we represent the request in the ContextUrl.

      1) From 10.9, "If the context URL includes only expanded navigation properties (i.e., only navigation properties suffixed with parentheses), then all structural properties are implicitly selected (same as if there were no properties listed in the select-list)."
      As a result, there is no way to say that a result contains only the expanded content and no selected properties. This is not a huge issue, as our syntax today doesn't allow requesting only expanded properties, but it seems like it should.

      2) In 4.01 we say that, for expanded navigation properties with no expand options, the context URL contains the name of the navigation property suffixed with empty parens, and that this MAY be omitted in 4.0. However, the 4.0 grammar prohibits the use of empty parens.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: