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] Commented: (ODATA-388) Rename "when" to "odata.when" and allow it in added/changed entities

    [ http://tools.oasis-open.org/issues/browse/ODATA-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33447#action_33447 ] 

Michael Pizzo commented on ODATA-388:

We added when to added/deleted links in ATOM because it was part of the atom tombstone specification for deleted entries. We added when to JSON to be consistent with Atom.

However, because we impose an ordering on the returned changes that leads to eventual consistency, knowing "when" a change occurred is of dubious value.

And, as ralf points out, we don't currently have an annotation for last change in JSON, nor do we have a way for the client to say whether or not they want/care about such information.

An alternative to adding it to JSON objects would be to remove when from added/deleted links and tombstones in JSON, so it only appears for well-formedness in Atom tombstones (with no semantic meaning in OData) (and perhaps we can get it optional there as well.)

> Rename "when" to "odata.when" and allow it in added/changed entities
> --------------------------------------------------------------------
>                 Key: ODATA-388
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-388
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData JSON Format
>    Affects Versions: V4.0_CSD01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: V4.0_CSD02
> The creation/change timestamp is valuable information for clients and present in Atom (atom:updated), so we should add it to JSON.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


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