View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023942 | mantisbt | bugtracker | public | 2018-02-06 16:38 | 2020-12-07 12:02 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.0.0 | ||||
Target Version | 2.11.0 | Fixed in Version | 2.11.0 | ||
Summary | 0023942: Remove deprecated "errcontext" parameter from standard error handler | ||||
Description | The We currently use this parameter to display some of the local variables (excluding objects) when an error is triggered and $g_show_detailed_errors = ON, but the output is broken and difficult to read since 2.x was released. Considering the deprecation notice, it does not make sense to fix the layout now since the raw data will no longer be available in the next major PHP release. This issue covers the change in MantisBT error handler's signature, as well as removal of all code dedicated to printing Context information on the detailed error page. | ||||
Tags | No tags attached. | ||||
related to | 0027701 | closed | atrol | System notice in lang_error_handler |
related to | 0027703 | closed | atrol | Error handlers use deprecated context parameter |
related to | 0023943 | closed | dregad | Improve detailed error page layout |
related to | 0023944 | closed | dregad | The stack trace on detailed error page should not include the error handler itself |
MantisBT: master 276c0310 2018-02-06 12:35 Committer: vboctor Details Diff |
Remove error handler's "errcontext" parameter The $errcontext parameter for the error handler function has been deprecated in PHP 7.2. We currently use this parameter to display some of the local variables when an error is triggered and $g_show_detailed_errors = ON, but the output is broken and difficult to read since 2.x was released. Considering the deprecation notice, it does not make sense to fix the layout now since the raw data will no longer be available in the next major PHP release. This commit changes the error handler's signature, and removes all code dedicated to printing Context information on the detailed error page. Fixes 0023942 |
Affected Issues 0023942 |
|
mod - core/error_api.php | Diff File |