Empty fields in config file

Description

1. Using comandBox I executed export of my Lucee (not commandBox) configs, by specifying the installation folder.
2. Some configs, displays empty cell.
So, when I change the value of these configs, from Lucee admin panel, and import, previously generated, config file -> this option doesn't change, and when I export configs again, those empty configs, now has value.

Configs that had empty value: UDFTypeChecking, inspectTemplate

Environment

CommandBox 4.8.0+00059
Lucee 5.3.7.43

Activity

Show:
Brad Wood
January 13, 2021, 6:15 PM

I assume this is because the Lucee XML config files internally do not have a value stored for those settings. CFConfig can only export a setting if it is explicitly set in the Lucee XML file. Lucee tends to be very lazy about its config file and does not store many values by default, allowing them to default to whatever the engine wants. Saving the settings in the Lucee web admin will cause the current default value to be written out to the XML file. You can confirm this by looking at the XML file. If you want these settings to be explicitly set, you’ll need to set them in the admin or in the CFConfig JSON manually. Otherwise, just let them default.

Assignee

Unassigned

Reporter

Guardian

Labels

None

Priority

Major