Issue Details (XML | Word | Printable)

Key: CMIS-126
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ethan Gur-esh
Reporter: Ethan Gur-esh
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OASIS Content Management Interoperability Services (CMIS) TC

Should "deleteAllVersions" have "continueOnFailure" semantics like "DeleteTree" does?

Created: 09/Mar/09 12:42 AM   Updated: 11/Jan/10 07:13 PM
Component/s: Domain Model
Affects Version/s: Draft 0.50
Fix Version/s: Draft 0.62

Proposal: I don't think we need to add this... but wanted to give the TC a chance to think about it.
Resolution: We won't add in a parameter, but we will clarify that if the repository fails to delete one or more versions, it must leave the version series in a valid state.


 Description  « Hide
Currently, there are 2 CMIS methods that attempt to delete >1 object at a time.

- DeleteTree: Deletes all objects in a folder tree.
- DeleteAllVersions: Deletes all documents in a folder series.


DeleteTree includes semantics/parameters for how the Repository should behave if for any reason it CANNOT delete one of the objects in the Folder Tree.

Should we add the same semantics for DeleteAllVersions?

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Florent Guillaume added a comment - 09/Mar/09 07:47 AM
DeleteTree is allowed to do partial deletes presumably because a transactional behavior would be hard to maintain for some repositories on big trees.

But DeleteAllVersions can probably more easily do this in an all-or-nothing manner (including the PWC) so I'm for saying that it MUST delete nothing if there's an error.

Al Brown added a comment - 04/May/09 01:00 PM
Accepted by TC

Ethan Gur-esh added a comment - 19/May/09 01:32 PM
Added a note in 3.7.6

Al Brown added a comment - 05/Jan/10 12:30 AM
JIRA Cleanup