View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005714 | Composr | errorlog | public | 2024-04-21 01:33 | 2024-04-28 01:01 |
| Reporter | Patrick Schmalstig | Assigned To | Patrick Schmalstig | ||
| Severity | Trivial-bug | ||||
| Status | closed | Resolution | fixed | ||
| Product Version | 11.alpha2 | ||||
| Fixed in Version | |||||
| Summary | 0005714: trigger_error for MISSING_OPTION always logs the specific line it is executed in errorlog.php | ||||
| Description | The following line in sources/config.php trigger_error(do_lang('MISSING_OPTION', escape_html($name)), E_USER_NOTICE); ...will always log its own file / line number in errorlog.php regardless what triggered it / the function. Stack traces will contain the proper traceback, but for debugging purposes we should be logging exactly where the option itself was referenced in the errorlog. | ||||
| Tags | No tags attached. | ||||
| Time estimation (hours) | |||||
| Sponsorship open | |||||
|
|
Actually I think this was because the module code was not accounting for multi-line errors in errorlog. I fixed this separately. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-04-21 01:33 | Patrick Schmalstig | New Issue | |
| 2024-04-21 01:33 | Patrick Schmalstig | Status | non-assigned => assigned |
| 2024-04-21 01:33 | Patrick Schmalstig | Assigned To | => Patrick Schmalstig |
| 2024-04-28 01:01 | Patrick Schmalstig | Status | assigned => closed |
| 2024-04-28 01:01 | Patrick Schmalstig | Resolution | open => fixed |
| 2024-04-28 01:01 | Patrick Schmalstig | Note Added: 0008692 |