OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] (ODATA-643) Clarify that PUT must persist all *updatable" properties

Michael Pizzo created ODATA-643:

             Summary: Clarify that PUT must persist all *updatable" properties
                 Key: ODATA-643
                 URL: https://tools.oasis-open.org/issues/browse/ODATA-643
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: OData Protocol 
    Affects Versions: V4.0_OS
         Environment: [Proposed]
            Reporter: Michael Pizzo
            Priority: Minor
             Fix For: V4.0_OS

In section 11.4.3, Update an Entity, we are clear that non-updatable properties specified in PUT or PATCH are ignored:
"Key and other non-updatable properties, as well as dependent properties that are not tied to key properties of the principal entity, can be omitted from the request. If the request contains a value for one of these properties, the service MUST ignore that value when applying the update."

However, we also make general statements like: 
"Collection properties and primitive properties provided in the payload MUST replace the value of the corresponding property in the entity or complex type"
"Services that support PUT MUST replace all values of structural properties with those specified in the request body"

We should clarify that these later statements apply to *updatable* structural properties.

This message was sent by Atlassian JIRA

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]