[
https://issues.apache.org/jira/browse/OFBIZ-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrian Crum closed OFBIZ-4278.
------------------------------
Resolution: Fixed
Fix Version/s: Upcoming Branch
Fixed in rev 1636374.
> ModelScreen does not rollback transaction when ScreenRenderException occurs
> ---------------------------------------------------------------------------
>
> Key: OFBIZ-4278
> URL: https://issues.apache.org/jira/browse/OFBIZ-4278
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Philippe Mouawad
> Fix For: Upcoming Branch
>
> Attachments: patch-OFBIZ-4278.patch
>
>
> Hello,
> Is there any reason why ModelScreen#renderScreenString() does not call
> TransactionUtil#rollback when ScreenRenderException occurs.
> It does so when Exception or RuntimeException occur.
> Furthermore, what's the point in duplicating code for Exception and
> RuntimeException ?
> As I am not sure if there is a reason , I ask, if you confirm it is useless I
> will provide a patch.
> Regards
> Philippe
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)