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

Clarify key values in upsert along navigation properties

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: Protocol
    • Labels:
      None
    • Proposal:
      Hide

      For key properties whose value is provided in the request URL any values provided in the request body must be ignored.

      Show
      For key properties whose value is provided in the request URL any values provided in the request body must be ignored.
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-specs/pull/250  

      Description

      Current text in https://oasis-tcs.github.io/odata-specs/odata-protocol/odata-protocol.html#UpsertanEntity says

      Key and other non-updatable properties, as well as dependent properties that are not tied to key properties of the principal entity, MUST be ignored by the service in processing the Upsert request.

      In the allowed case of single-valued non-containment navigation with navigation property binding the key property values cannot be ignored as they cannot always be derived from key values provided in the URL.

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: