localScopeMode="modern" causing issue with Logbox appenders in ColdBox

Description

Lucee 5.3.4.80

Setting localScopeMode to modern via cfconfig seems to cause offence to Logbox in a simple CommandBox default flow/page (usong CB HMVC REST)

Errors:

Message The key [appenders] does not exist, the structure is empty
Stacktrace The Error Occurred in
/home/kai/code/...../coldbox/system/logging/config/LogBoxConfig.cfc: line 68
66:
67: // Register Appenders
68: for( var key in logBoxDSL.appenders ){
69: logBoxDSL.appenders[ key ].name = key;
70: appender( argumentCollection=logBoxDSL.appenders[ key ] );

called from /home/kai/code/...../coldbox/system/logging/config/LogBoxConfig.cfc: line 39
called from /home/kai/code/...../coldbox/system/web/services/LoaderService.cfc: line 102
called from /home/kai/code/...../coldbox/system/web/Controller.cfc: line 89
called from /home/kai/code/...../coldbox/system/Bootstrap.cfc: line 96
called from /home/kai/code/...../Application.cfc: line 25

Activity

Show:

Brad WoodMarch 6, 2020 at 8:29 PM

I moved this ticket over to the LogBox project. ColdBox, CacheBox, WireBox, and LogBox do not support a “modern” local scope. You can see the discussion on this previously rejected ticket

but feel free to make a new case and see if you can convince

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Sentry

Created March 6, 2020 at 7:53 AM
Updated March 6, 2020 at 8:29 PM
Resolved March 6, 2020 at 7:53 AM