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-1299) Continue-on-Error for Collection

George Ericson created ODATA-1299:

             Summary: Continue-on-Error for Collection
                 Key: ODATA-1299
                 URL: https://issues.oasis-open.org/browse/ODATA-1299
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: Protocol
         Environment: In a GET against a collection of entities, it is possible that an entity returns an error, for example if a connection to the provider of the entity is lost.

The proposal is to allow a Continue-On-Error preference or a $Continue-On-Error search option for a GET against a collection.

In the event of an error returned by an entity being retrieved, the effect of Continue-On-Error, would be to stop the current page, returning both the entities up to the error and an Error result for the element that returned the error and, if there are additional elements following, a nextLink for use in retrieving the remaining entities in the collection.

Note for discussion, the first result could be split, first returning entities up to but not including the failed entity, with a nextLink to retrieve the error result for the failing entity, And finally more entities, if the last returned a nextLink.Â


            Reporter: George Ericson

This message was sent by Atlassian JIRA

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