Page MenuHomeIn-Portal Phabricator

INP-1911 - Adjust exception message, when accessing non-existing event of an existing unit
ClosedPublic

Authored by alex on Mon, May 26, 9:50 AM.

Details

Test Plan
  1. enable the Debug Mode
  2. on the Front-End:
    1. open the /index.php?env=-login%3Am0--1--s-&events[orda]=OnMissing URL
    2. confirm, that you'll see the Configuration file for prefix "orda" is unknown exception in Debugger
    3. open the /index.php?env=-login%3Am0--1--s-&events[ord]=OnMissing URL
    4. confirm, that you'll see the Event "OnMissing" not implemented in class "OrdersEventHandler" exception in Debugger
  3. in the Admin Console login screen:
    1. open the /admin/index.php?env=-login%3Am0--1--s-&events[orda]=OnMissing URL
    2. confirm, that you'll see the Configuration file for prefix "orda" is unknown exception in Debugger
    3. open the /admin/index.php?env=-login%3Am0--1--s-&events[ord]=OnMissing URL
    4. confirm, that you'll see the Event "OnMissing" not implemented in class "OrdersEventHandler" exception in Debugger

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.Mon, May 26, 9:50 AM
alex requested review of this revision.Mon, May 26, 9:50 AM
erik accepted this revision.Mon, May 26, 10:10 AM
This revision is now accepted and ready to land.Mon, May 26, 10:10 AM
This revision was automatically updated to reflect the committed changes.