- 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
- Branch
- /in-portal/branches/5.2.x
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 948 Build 948: arc lint + arc unit
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 !');