OFBiz
  1. OFBiz
  2. OFBIZ-4278

ModelScreen does not rollback transaction when ScreenRenderException occurs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 14.12.01
    • Component/s: framework
    • Labels:
      None

      Description

      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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Philippe Mouawad
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development