Lucee debuggingDBEnabled setting is ignored

Description

It appears the `debuggingDBEnabled` setting is not writing to the lucee-server.xml file.

Using the cfconfig.json file

{ "debuggingEnabled": "true", "debuggingDBEnabled ": "true", "debuggingQueryUsageEnabled": "true", "debuggingTemplates": { "development": { "type": "modern" } } }

will write this `debugging` xml element to lucee-server.xml. Note that the `database="true"` attribute is missing.

<debugging debug="true" dump="true" exception="true" implicit-access="true" log-memory-usage="no" query-usage="true" show-query-usage="no" template="/lucee/templates/debugging/debugging.cfm" timer="true"> ... </debugging>

You can also see the checkbox in unchecked in Lucee admin

If I use the Lucee admin GUI to check this checkbox and save, the following `debugging` xml element is written to lucee-server.xml (note: `database="true"`)

<debugging database="true" debug="true" dump="true" exception="true" implicit-access="true" log-memory-usage="no" query-usage="true" show-query-usage="no" template="" templenabled="true" timer="true" tracing="false"> ... </debugging>

Lucee 5.3.10.97
CommandBox 5.8.0+00695
CFConfig 1.10.5

Environment

None

Attachments

2
  • 30 Mar 2023, 01:32 AM
  • 29 Mar 2023, 03:49 AM

Activity

Show:

Brad WoodMarch 30, 2023 at 4:56 PM

lol, glad it’s working now for you.

Adam ChapmanMarch 30, 2023 at 1:32 AM

Well I’m a goose. TIL never trust copy/paste..

Brad WoodMarch 29, 2023 at 3:28 PM

I am unable to reproduce. I just ran

cfconfig set debuggingDBEnabled=true

and database="true" was added to the <debugging> tag in my Lucee server XML.

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

Details

Assignee

Reporter

Priority

Sentry

Created March 29, 2023 at 4:00 AM
Updated March 30, 2023 at 4:56 PM
Resolved March 30, 2023 at 4:56 PM

Flag notifications