[ 
https://jira.nuxeo.org/browse/NXP-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=74952#action_74952
 ] 

Stéphane Lacoin commented on NXP-5097:
--------------------------------------

nuxeo-features has client code that is impacted by that change. 
5.3-NXP-5097-transaction-commit-errors.

Also, reviewed the code with florent and we prefer to use a runtime exception 
instead of the list of checked.
That runtime exception will be defined in the owning transaction package.

> 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
>            Reporter: Stéphane Lacoin
>            Assignee: Stéphane Lacoin
>   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

Reply via email to