Fixed
Details
Assignee
Zac SpitzerZac SpitzerReporter
Zac SpitzerZac SpitzerLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
NoneFix versions
Priority
New
Details
Details
Assignee
Zac Spitzer
Zac SpitzerReporter
Zac Spitzer
Zac SpitzerLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Fix versions
Priority
Created 19 December 2022 at 16:09
Updated 22 December 2022 at 17:18
Resolved 22 December 2022 at 17:18
by default, getApplicationSettings() returns all the values in the
this
scope from theApplication.cfc
constructorfirstly, it adds all the supported setting from the application
then it adds any other keys which weren’t set from step 1
Add a
onlySupported
argument which optionally skips (unsupported) values step 2This is useful to check if you have misconfigured (typos) in your application settings which aren’t being picked up and used by Lucee
i.e. https://github.com/lucee/Lucee/blob/6.0/test/functions/getApplicationSettings/unSupported.cfm
i.e. a typo like
this.datasoures
would be ignored by Lucee, but still returned bygetApplicationSettings()