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

          Bertrand Dunogier created issue -
          Show
          Bertrand Dunogier added a comment - ezsystems/ezpublish-kernel#669
          Bertrand Dunogier made changes -
          Field Original Value New Value
          Remote Link This issue links to "ezsystems/ezpublish-kernel#669 (Web Link)" [ 13201 ]
          Show
          Bertrand Dunogier added a comment - ezsystems/ezpublish-legacy#855
          Bertrand Dunogier made changes -
          Remote Link This issue links to "ezsystems/ezpublish-legacy#855 (Web Link)" [ 13202 ]
          Bertrand Dunogier made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Bertrand Dunogier made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Bertrand Dunogier made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Bertrand Dunogier [ bertrand.dunogier@ez.no ]
          Bertrand Dunogier made changes -
          Status Development [ 3 ] Development review [ 10006 ]
          Gaetano Giunta (Inactive) made changes -
          Link This issue relates to EZP-21751 [ EZP-21751 ]
          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
          Jérôme Vieilledent (Inactive) made changes -
          Assignee Bertrand Dunogier [ bertrand.dunogier@ez.no ] Jérôme Vieilledent [ jerome.vieilledent@ez.no ]
          Jérôme Vieilledent (Inactive) made changes -
          Labels legacy
          Fix Version/s 5.1 Maintenance [ 12301 ]
          Fix Version/s 5.2 Maintenance [ 12782 ]
          Component/s Symfony stack [ 10303 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Development review [ 10006 ] Development Review done [ 10028 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Development Review done [ 10028 ] Documentation done [ 10011 ]
          Joao Pingo (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
          Joao Pingo (Inactive) logged work - 04/Feb/14 11:17 AM
          • Time Spent:
            5 hours
             

            Testing

          Joao Pingo (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 5 hours [ 18000 ]
          Worklog Id 45328 [ 45328 ]
          Hide
          Joao Pingo (Inactive) added a comment -

          QA Approved

          Show
          Joao Pingo (Inactive) added a comment - QA Approved
          Joao Pingo (Inactive) made changes -
          Assignee Joao Pingo [ joao.pingo@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Joao Pingo (Inactive) logged work - 05/Feb/14 5:49 PM
          • Time Spent:
            2 hours
             

            Closed

          Joao Pingo (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Joao Pingo (Inactive) made changes -
          Time Spent 5 hours [ 18000 ] 7 hours [ 25200 ]
          Worklog Id 45383 [ 45383 ]
          Joao Pingo (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 60959 ] EZ* Development Workflow [ 84625 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 84625 ] EZEE Development Workflow [ 123291 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          1h 58m 1 Bertrand Dunogier 06/Jan/14 4:58 PM
          Confirmed Confirmed InputQ InputQ
          9s 1 Bertrand Dunogier 06/Jan/14 4:58 PM
          InputQ InputQ Development Development
          3s 1 Bertrand Dunogier 06/Jan/14 4:58 PM
          Development Development Development Review Development Review
          5s 1 Bertrand Dunogier 06/Jan/14 4:58 PM
          Development Review Development Review Development Review done Development Review done
          27d 18h 58m 1 jerome.vieilledent@ez.no 03/Feb/14 11:57 AM
          Development Review done Development Review done Documentation Review done Documentation Review done
          9s 1 jerome.vieilledent@ez.no 03/Feb/14 11:57 AM
          Documentation Review done Documentation Review done QA QA
          38m 9s 1 Joao Pingo (Inactive) 03/Feb/14 12:35 PM
          QA QA Closed Closed
          1d 23h 20m 1 Joao Pingo (Inactive) 05/Feb/14 11:56 AM
          Closed Closed Reopened Reopened
          5h 53m 1 Joao Pingo (Inactive) 05/Feb/14 5:49 PM
          Reopened Reopened Closed Closed
          0s 1 Joao Pingo (Inactive) 05/Feb/14 5:49 PM

            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