- open /tools/run_event.php file in IDE
- comment out exit_code(1, 'This script needs to be enabled manually !'); line (if not already)
- after $application->Init(); line add $application->Conn->Query('SELECT * FROM ' . TABLE_PREFIX . 'NonExistingTable'); exit;
- save changes
- in CLI run php tools/run_event.php u:OnRefreshForm b674006f3edb1d9cd4d838c150b0567d command
- confirm, that before patch is applied the SQL error isn't displayed
- confirm, that after patch is applied the exception is thrown & shown when SQL error is detected
Details
Details
Diff Detail
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
Comment Actions
Tested, accepted.
In the run_event. php first line must be commented to make test plan possible.
exit_code(1, 'This script needs to be enabled manually !');