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-688) DELETE requests to raw property values, media resources, and stream properties


     [ https://tools.oasis-open.org/issues/browse/ODATA-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-688:
-----------------------------

    Proposal: 
Delete on the raw property value sets a nullable property to null and results in an error for non-nullable properties.

Delete on a stream property sets it to "empty", resulting in 204 No Content. This is in sync with the behavior for GET StructuralProperty/$value if the structural property is null

Delete on the media resource deletes the media resource. It could also implicitly delete the media entity. AtomPub seems to allow both, see http://tools.ietf.org/html/rfc5023#section-9.4:

    9.4.  Deleting Resources with DELETE
   To delete a Member Resource, a client sends a DELETE request to its
   Member URI, as specified in [RFC2616].  The deletion of a Media Link
   Entry SHOULD result in the deletion of the corresponding Media
   Resource.

Member Resource == media resource
Member URI == read/edit-media link
Media Link Entry == media entity


  was:
Delete on the raw property value sets a nullable property to null and results in an error for non-nullable properties.
Delete on the media resource deletes the media resource and its media entity
Delete on a stream property sets it to "empty", resulting in 204 No Content. This is in sync with the behavior for GET StructuralProperty/$value if the structural property is null


> DELETE requests to raw property values, media resources, and stream properties
> ------------------------------------------------------------------------------
>
>                 Key: ODATA-688
>                 URL: https://tools.oasis-open.org/issues/browse/ODATA-688
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData Protocol 
>    Affects Versions: V4.0_OS
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: V4.0_ERRATA01
>
>
> We don't specify the meaning of DELETE requests to raw property values (PropertyName/$value), stream properties, and media resources.



--
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]