log out any unsupported options after importing a CFconfig file

Description

when importing a CFconfig json file, after it has been imported, check which keys that don’t exist in the final cfconfig json file and log them out as being unsupported.

this will really help people who make typos or try and use something which isn’t yet supported

relates to

Activity

Michael Offner 28 August 2024 at 14:33

With Lucee 7 we go in a different direction we make “LOAD ON DEMAND“, so it only loads the data needed, means we do never touch certain part of the config when not used in the code. that means we never analyse the whole thing in the future.

Michael Offner 4 July 2024 at 09:19

this is not easy to do, because Lucee never has the whole picture of the config, every part of the code reads the part it is interested int.

Also this could cause problem when you wanna future proof your config by already adding configs needed in the future.

Michael Offner 4 July 2024 at 09:13
Edited

In my opinion that conflicts with

if we are strict, we are strict all the way.

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

Priority

Created 16 August 2022 at 13:16
Updated 28 August 2024 at 14:34
Resolved 28 August 2024 at 14:33