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

Referential constraint: prose text does not properly reflect case of optional principal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: CSDL XML
    • Labels:
      None
    • Proposal:
      Hide

      Rephrase last sentence in section 11.4 from
      In the example that follows, the category must exist for a product in that category to exist:
      to
      In the example that follows, the CategoryID of a Product entity must either be null or contain the ID of an existing category:

      Rephrase second sentence in first paragraph of section 11.6 from
      The entity on this end of the association may only exist if an entity on the opposite end of the association exists.
      to
      If the multiplicity of the principal association end is 1, the entity on the dependent end of the association may only exist if an entity on the principal end of the association exists.

      Accepted: https://www.oasis-open.org/apps/org/workgroup/odata/download.php/47722/latest/odata-meeting-18_on-20121213-minutes.html

      Show
      Rephrase last sentence in section 11.4 from In the example that follows, the category must exist for a product in that category to exist: to In the example that follows, the CategoryID of a Product entity must either be null or contain the ID of an existing category: Rephrase second sentence in first paragraph of section 11.6 from The entity on this end of the association may only exist if an entity on the opposite end of the association exists. to If the multiplicity of the principal association end is 1, the entity on the dependent end of the association may only exist if an entity on the principal end of the association exists. Accepted: https://www.oasis-open.org/apps/org/workgroup/odata/download.php/47722/latest/odata-meeting-18_on-20121213-minutes.html
    • Resolution:
      Hide

      Section 11 was removed when applying ODATA-24. The new section 7.3.6 on referential constraints already reflects this.

      Accepted: https://www.oasis-open.org/apps/org/workgroup/odata/download.php/47764/latest/odata-meeting-19_on-20121220-minutes.html

      Show
      Section 11 was removed when applying ODATA-24 . The new section 7.3.6 on referential constraints already reflects this. Accepted: https://www.oasis-open.org/apps/org/workgroup/odata/download.php/47764/latest/odata-meeting-19_on-20121220-minutes.html

      Description

      A referential constraint is explicitly allowed and definitely makes sense also in cases where the principal cardinality is 0..1, i.e. when the "dependent" entity may have no "principal".

      It is just a constraint on property values of the "dependent" entity: if the entity is associated to a "principal", the dependent properties must have the same value as the corresponding principal properties.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: