OFBiz
  1. OFBiz
  2. OFBIZ-4278

ModelScreen does not rollback transaction when ScreenRenderException occurs

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • 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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:

              Development