Page MenuHomeIn-Portal Phabricator

INP-1805 - Execute "adm:OnBeforeShutdown" event before AJAX request ending
ClosedPublic

Authored by alex on May 13 2021, 8:23 AM.

Details

Test Plan
  1. login to Admin Console
  2. in IDE change contents of \AdminEventsHandler::OnBeforeShutdown method (file: core/units/admin/admin_events_handler.php) to be die('test passed'); and save changes
  3. access .../admin/?events[fck]=OnLoadCmsTree URL
  4. confirm, that after returned XML there is "test passed" text

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex created this revision.May 13 2021, 8:23 AM
alex requested review of this revision.May 13 2021, 8:23 AM
alex edited the test plan for this revision. (Show Details)May 13 2021, 8:25 AM
alex added a project: Restricted Project.
erik accepted this revision.May 18 2021, 4:30 AM
This revision is now accepted and ready to land.May 18 2021, 4:30 AM
This revision was automatically updated to reflect the committed changes.