Page MenuHomeIn-Portal Phabricator

INP-1831 - Allow specifying "HookToModule" in hook declarations
ClosedPublic

Authored by alex on Oct 7 2022, 5:39 AM.

Details

Test Plan
  1. login to the Admin Console
  2. go to the ConfigurationWebsiteModules section
  3. disable all modules, except In-Portal and In-Commerce
  4. go to the ToolsSystem Tools button
  5. press the Deploy button
  6. go to the Logs & ReportsSystem Log section
  7. confirm, that such warnings weren't added during unit config cache rebuild (happens during deployment):
* Prefix lst doesn't exist when trying to hook from p:OnSaveVirtualProduct in ...\core\kernel\managers\hook_manager.php on line 97`
* Prefix lst doesn't exist when trying to hook from p:OnDeleteListingType in ...\core\kernel\managers\hook_manager.php on line 97
* Prefix lst doesn't exist when trying to hook from p:OnModifyPaidListingConfig in ...\core\kernel\managers\hook_manager.php on line 97

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.Oct 7 2022, 5:39 AM
alex requested review of this revision.Oct 7 2022, 5:39 AM
alex edited the test plan for this revision. (Show Details)Oct 7 2022, 5:42 AM
erik accepted this revision.Oct 10 2022, 5:30 AM
This revision is now accepted and ready to land.Oct 10 2022, 5:30 AM
This revision was landed with ongoing or failed builds.Nov 16 2023, 2:33 AM
This revision was automatically updated to reflect the committed changes.