View Issue Details

IDProjectCategoryView StatusLast Update
0005714Composrerrorlogpublic2024-04-28 01:01
ReporterPatrick SchmalstigAssigned ToPatrick Schmalstig 
SeverityTrivial-bug 
Status closedResolutionfixed 
Product Version11.alpha2 
Fixed in Version 
Summary0005714: trigger_error for MISSING_OPTION always logs the specific line it is executed in errorlog.php
DescriptionThe 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.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Patrick Schmalstig

2024-04-28 01:01

administrator   ~0008692

Actually I think this was because the module code was not accounting for multi-line errors in errorlog. I fixed this separately.

Issue History

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