[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
[ https://tools.oasis-open.org/issues/browse/ODATA-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Pizzo updated ODATA-643: -------------------------------- Environment: [Applied] (was: [Proposed]) > 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: [Applied] > Reporter: Michael Pizzo > Assignee: Michael Pizzo > Priority: Minor > Fix For: V4.0_ERRATA01 > > > 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" > and > "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 (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]