Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22131

Exceptions in legacy callback lead to unstable state

    Details

      Description

      If an exception is thrown by the Legacy Kernel during a callback, the cleanup code executed in ezpKernelWeb and/or in eZ/Publish/Core/MVC/Legacy/Kernel.php aren't executed, leading to an unstable state.

      For instance, if after an (caught) exception, you try to run another legacy callback, you will get the Christopher Nolan Exception saying that a callback is already running.

        Issue Links

          Activity

          Show
          Bertrand Dunogier added a comment - ezsystems/ezpublish-kernel#669
          Show
          Bertrand Dunogier added a comment - ezsystems/ezpublish-legacy#855
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in: ezpublish-kernel master: https://github.com/ezsystems/ezpublish-kernel/commit/fa4615a0bfd8821ea081ee444e707a255b3768c7 ezpublish-legacy master: https://github.com/ezsystems/ezpublish-legacy/commit/1c1f0e159dec63aaba5ea87764208f5f52fa4e98
          Hide
          Joao Pingo (Inactive) added a comment -

          QA Approved

          Show
          Joao Pingo (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Bertrand Dunogier
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h