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: SVN trunk
            Reporter: Philippe Mouawad


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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to