add getApplicationSettings( onlySupported=boolean )

Description

by default, getApplicationSettings() returns all the values in the this scope from the Application.cfc constructor

  • firstly, 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 2

This 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 by getApplicationSettings()

Activity

Show:

Zac Spitzer 21 December 2022 at 22:25

Zac Spitzer 19 December 2022 at 16:25

Fixed

Details

Assignee

Reporter

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

Fix versions

Priority

Created 19 December 2022 at 16:09
Updated 22 December 2022 at 17:18
Resolved 22 December 2022 at 17:18