[dna-issues] [JBoss JIRA] Updated: (DNA-582) The connector.execute(...) method is not 'all-or-nothing'
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Fri Dec 11 16:56:13 EST 2009
[ https://jira.jboss.org/jira/browse/DNA-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randall Hauch updated DNA-582:
------------------------------
Affects Version/s: 0.7
> The connector.execute(...) method is not 'all-or-nothing'
> ---------------------------------------------------------
>
> Key: DNA-582
> URL: https://jira.jboss.org/jira/browse/DNA-582
> Project: DNA
> Issue Type: Bug
> Components: Connectors, Graph
> Affects Versions: 0.7
> Reporter: Randall Hauch
> Priority: Blocker
> Fix For: 1.0
>
>
> The RepositoryConnector.execute(ExecutionContext,Request) method does not have all-or-nothing behavior. That is, if the request is a CompositeRequest with multiple requests to change the content, and some of those change requests result in errors, the execution should 'rollback' the changes and return the content to the state before the method was called. In other words, either all of the requests are fulfilled, or none of them are.
> None of the writable connectors work this way, and they all need to be corrected. Also, this behavior needs to be documented in the connector API. Finally, we need to make sure that the JCR session's transient state is unchanged if a save() call results in an error (the connector's state should rollback, but the session's state should remain, per Section 7.1.1.6-7.1.1.7 of JCR 1.0.1).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list