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

Misleading reference to "open" in description of $select

    XMLWordPrintable

    Details

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

      [Applied]

    • Proposal:
      Hide

      "If the selectItem is not defined for the type of the resource, and that type supports dynamic properties, then the property is treated as null for all instances on which it is not defined."

      "If the selectItem is not defined for the type of the resource, and that type does not support dynamic properties, then the request is considered malformed."

      Show
      "If the selectItem is not defined for the type of the resource, and that type supports dynamic properties, then the property is treated as null for all instances on which it is not defined." "If the selectItem is not defined for the type of the resource, and that type does not support dynamic properties, then the request is considered malformed."
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/57553/odata-v4.0-wd08-part2-url-conventions-2016-02-17.docx

      Description

      The description for the $select system query option says the following:

      "If the selectItem is not defined for the type of the resource, and that type is defined as open, then the property is treated as null for all instances on which it is not defined."

      "If the selectItem is not defined for the type of the resource, and that type is not defined as open, then the request is considered malformed."

      This is misleading, as readers may interpret "defined as open" to mean that they have the "OpenType"="True" attribute. However, In OData V4 we say that any type may have dynamic properties, and that OpenType tells the client whether or not they can add additional properties to an instance.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: