[jira] [Commented] (OFBIZ-5183) Allows ECAs related to services with require-new-transaction=true in pre-invoke and earlier events

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5183) Allows ECAs related to services with require-new-transaction=true in pre-invoke and earlier events

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638935#comment-13638935 ]

Jacques Le Roux commented on OFBIZ-5183:
----------------------------------------

For now, this should be at least commented in the require-new-transaction documentation in services.xsd
               

> Allows ECAs related to services with require-new-transaction=true in pre-invoke and earlier events
> --------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5183
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5183
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04
>            Reporter: Jacques Le Roux
>            Priority: Minor
>
> I got bitten by this TODO in ServiceDispatcher.runSync()
> {code}
> // TODO: if there is an ECA called async or in a new transaction it won't get rolled back
> //but will be called again, which means the service may complete multiple times! that would be for
> //pre-invoke and earlier events only of course
> {code}
> I will try to have a look

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira