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

Collection-valued property: Define default value for nullable facet

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA02
    • Fix Version/s: V4.0_ERRATA03
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      Proposal:
      Absence of nullable facet on collection means it's unknown if you can insert nulls. You can try, but it may fail.
      Nullable=true means that the collection may contain null values (although attempting to insert a null value may still fail for a variety of reasons)
      Nullable=false means that the collection can not contain null values

      Show
      Proposal: Absence of nullable facet on collection means it's unknown if you can insert nulls. You can try, but it may fail. Nullable=true means that the collection may contain null values (although attempting to insert a null value may still fail for a variety of reasons) Nullable=false means that the collection can not contain null values
    • Resolution:
      Hide

      Approved 2015-4-16 as proposed, with the cautionary note to the client that, in the absence of this facet, services may refuse collections with null values.

      https://www.oasis-open.org/committees/download.php/57688/odata-v4.0-wd08-part3-csdl-2016-03-03.docx

      Accepted: https://www.oasis-open.org/committees/download.php/57722/odata-meeting-123_on-20160310-minutes.html

      Show
      Approved 2015-4-16 as proposed, with the cautionary note to the client that, in the absence of this facet, services may refuse collections with null values. https://www.oasis-open.org/committees/download.php/57688/odata-v4.0-wd08-part3-csdl-2016-03-03.docx Accepted: https://www.oasis-open.org/committees/download.php/57722/odata-meeting-123_on-20160310-minutes.html

      Description

      We missed to spell out the default value for the Nullable facet. For single valued properties we defined the default value as true.

        Attachments

          Activity

            People

            • Assignee:
              martinzurmuehl Martin Zurmuehl
              Reporter:
              martinzurmuehl Martin Zurmuehl
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: