Made correct display of resource type parameters in the System Log
Details
Details
- Reviewers
alex - Commits
- rINP16688: Fixes INP-1654 - Handle resource type in System Log
Used test code:
$f = fopen(FULL_PATH . '/system/config.php', 'r'); test($f); function test($file) { throw new RuntimeException('Test'); }
Test Plan
- Modify index php. Add test code after $application->Init();
- Open some front-end page
- Login to adm.console
- Go to Logs & Reports → System Log
- Double click on recent record, containing Test message
- Expand content of Backtrace field by clicking on the last Function link
- Confirm, that value of resource type parameter is displayed correctly, like Resource id #n, where n is some integer value
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.