View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019629 | mantisbt | bugtracker | public | 2015-04-16 19:09 | 2015-09-06 17:37 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 1.3.0-beta.3 | Fixed in Version | 1.3.0-beta.3 | ||
Summary | 0019629: Error handler should catch all known PHP error types | ||||
Description | Currently, error_handler() doesn't specifically handle E_STRICT, E_RECOVERABLE and E_USER_DEPRECATED, resulting in a default "catch all" error message which may not be the desired behavior. | ||||
Tags | No tags attached. | ||||
MantisBT: master 7e3e8937 2014-09-16 07:05 Details Diff |
Error API: catch all known error types Our error handler was not specifically dealing with some known error types, resulting in a default "catch all" error message e.g. for E_STRICT or E_RECOVERABLE_ERROR. Now all constants defined in http://php.net/errorfunc.constants at the time of this writing are handled, while retaining the default case for future error types. Fixes 0019629 |
Affected Issues 0019629 |
|
mod - core/error_api.php | Diff File | ||
MantisBT: master b6abfcb1 2014-09-16 07:05 Details Diff |
Treat E_RECOVERABLE_ERROR as a fatal error By default, Mantis will HALT since as per PHP documentation this is probably a dangerous error that occured without leaving the Engine in an unstable state. Issue 0019629 |
Affected Issues 0019629 |
|
mod - config_defaults_inc.php | Diff File | ||
MantisBT: master ba4f40ec 2015-05-17 01:57 Details Diff |
Fix broken deprecated error messages Commit 7e3e8937e28447d02d3cc46dd2187cd016adce25 introduced a regression by adding a case for E_USER_DEPRECATED, overriding the existing one. This caused incorrect display of deprecated error messages. Issue 0019629 |
Affected Issues 0019629 |
|
mod - core/error_api.php | Diff File |