Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4278

ModelScreen does not rollback transaction when ScreenRenderException occurs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 14.12.01
    • framework
    • 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

      Attachments

        1. patch-OFBIZ-4278.patch
          2 kB
          Philippe Mouawad

        Activity

          People

            Unassigned Unassigned
            p.mouawad@ubik-ingenierie.com Philippe Mouawad
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: