Issues
- add GetSystemPropOrEnvVar functionLDEV-5308Resolved issue: LDEV-5308Pothys - MitrahSoft
- CFConfig import doesn't support ortus CacheDefaultQuery etcLDEV-5052Resolved issue: LDEV-5052Michael Offner
- mapping adding additional unrequired fieldsLDEV-5048Resolved issue: LDEV-5048Pothys - MitrahSoft
- Lucee 6 cfconfig incompatibilities with ortus cfconfigLDEV-5043Resolved issue: LDEV-5043Michael Offner
- add support for "javasettings" to cfconfigLDEV-5040Resolved issue: LDEV-5040Michael Offner
- CFConfigImport overwrites sub structuresLDEV-5007Resolved issue: LDEV-5007Zac Spitzer
- on a fresh install extensions defined in core are preferred over cfconfigLDEV-5004Resolved issue: LDEV-5004Michael Offner
- invalid extension version in custom cfconfig is ignored when the extension is bundledLDEV-4996Zac Spitzer
- custom cfconfig with extensions logs out already installed errorsLDEV-4995
- support deploying a .CFCconfig.json by dropping it in the /deploy folderLDEV-4994Resolved issue: LDEV-4994Zac Spitzer
- invalid custom path cfconfig file is overwrittenLDEV-4993Resolved issue: LDEV-4993Zac Spitzer
- missing cfconfig file doesn't get logged out as missingLDEV-4992Resolved issue: LDEV-4992Michael Offner
- partial .CFConfig.json only populates a subset of required default valuesLDEV-4987Resolved issue: LDEV-4987Michael Offner
- {env:} expansion doesn't always workLDEV-4955Resolved issue: LDEV-4955Zac Spitzer
- componentDataMemberAccess default incorrectLDEV-4930Resolved issue: LDEV-4930Pothys - MitrahSoft
- json5 comment parse for CFConfig.json exceptionLDEV-4920Resolved issue: LDEV-4920Michael Offner
- admin password via env varLDEV-4872Resolved issue: LDEV-4872Michael Offner
- In Lucee Docker Image, ORM logs are not being updatedLDEV-4586Michael Offner
- lucee 5 lucee-web.xml isn't being imported into 6LDEV-4532Resolved issue: LDEV-4532Michael Offner
- allow setting singlemode in lucee 5 xml, for importing singlemode from xml, when upgrading to 6LDEV-4404Resolved issue: LDEV-4404Brad Wood
- Improve placeholder handling for configLDEV-4368Resolved issue: LDEV-4368Michael Offner
- rename mapping attribute topLevel to webAccessible in Lucee 6LDEV-4362
- add getApplicationSettings( onlySupported=boolean )LDEV-4333Resolved issue: LDEV-4333Zac Spitzer
- GetApplicationSettings() is missing regex configLDEV-4310Resolved issue: LDEV-4310Pothys - MitrahSoft
- ConfigImport extremely slowLDEV-4307Resolved issue: LDEV-4307Michael Offner
- configImport skips any datasource (which can't connect) when verify is true (which is the default)LDEV-4302Michael Offner
- configImport needs to be speeded up.LDEV-4301Michael Offner
- configImport isn't importing s3 mappingsLDEV-4289Resolved issue: LDEV-4289Michael Offner
- allow config directories for tag, functions and file-system to be configurableLDEV-4124Resolved issue: LDEV-4124Michael Offner
- updating a scheduled task doesn't remove the username & password keys from the cfconfig.json fileLDEV-4057Resolved issue: LDEV-4057Pothys - MitrahSoft
- default to returning json rather than wddxLDEV-3970Resolved issue: LDEV-3970Pothys - MitrahSoft
- _loadExtensionBundles expects a resource pathLDEV-3421Resolved issue: LDEV-3421Michael Offner
- getSystemPropOrEnvVar should support reading from a single json fileLDEV-3416
- Add BIF equivalent of getSystemPropOrEnvVarLDEV-3415
- SystemUtil.getSystemPropOrEnvVar should use key constantsLDEV-3203Michael Offner
- add support for functionPaths in the Application.cfcLDEV-1995Resolved issue: LDEV-1995Michael Offner
- Allow ${system.property} in Lucee config filesLDEV-1746Resolved issue: LDEV-1746Igal Sapir
37 of 37
add GetSystemPropOrEnvVar function
Fixed
Description
Attachments
1
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
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
Fix versions
Priority
New
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
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
Fix versions
Priority
Created 5 February 2025 at 10:26
Updated 13 February 2025 at 07:55
Resolved 13 February 2025 at 07:55
Activity
Show:
Pothys - MitrahSoft13 February 2025 at 07:55
I have tested this ticket with Lucee version 6.2.1.25-SNAPSHOT. When I ran the function GetSystemPropOrEnvVar()
, it now returns all the system properties as an array. Additionally, GetSystemPropOrEnvVar(prop)
returns the configured environment value when a property is specified. It works fine as expected.
Zac Spitzer11 February 2025 at 17:12
Zac Spitzer5 February 2025 at 10:29
it is a bit flakely on startup while lucee is re-deploying and will throw an exception
As Lucee uses system properties / env vars quite a lot, we should expose
SystemUtil.getSystemPropOrEnvVar()
as a BIF https://github.com/lucee/Lucee/blob/6.2/core/src/main/java/lucee/commons/io/SystemUtil.java#L1345GetSystemPropOrEnvVar();
returns the know list of supported properties / env vars content fromhttps://github.com/lucee/Lucee/blob/6.2/core/src/main/java/resource/setting/sysprop-envvar.json
GetSystemPropOrEnvVar( prop="lucee.logging.force.appender );
returns the configured value or empty string