[
https://jira.nuxeo.org/browse/NXP-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stéphane Lacoin updated NXP-5097:
---------------------------------
Refactored runtime code for using a runtime exception instead of checked.
Released nuxeo-runtime: 1.6-NXP-5097-transaction-commit-errors in trunk.
As we moved from checked to runtime,
nuxeo-features:5.3-NXP-5097-transaction-commit-errors has not been merged and
is closed.
Note that transaction helpers caller will get a runtime exception from where it
was just masked before.
This may introduce side effects on business logic.
I'm waiting now for feedback about.
> Transaction helper should throw errors when the transaction cannot commit
> --------------------------------------------------------------------------
>
> Key: NXP-5097
> URL: https://jira.nuxeo.org/browse/NXP-5097
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Affects Versions: 5.3.1
> Reporter: Stéphane Lacoin
> Assignee: Stéphane Lacoin
> Fix For: 5.3.2
>
> Original Estimate: 0 minutes
> Time Spent: 2 hours, 4 minutes
> Remaining Estimate: 0 minutes
>
> The current implementation of the
> TransactionHelper.commitOrRollbackTransaction catch and eat exception when an
> error occurs while committing. We want it to throw the system error to the
> calling method instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets