Skip to content

Settings Controller: allow a configuration setting to be cleared - #1096

Merged
barryo merged 2 commits into
mainfrom
log-env-changes
Sep 28, 2026
Merged

barryo merged 2 commits into
mainfrom
log-env-changes

Conversation

@afk11

@afk11 afk11 commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Fixes #1095

This PR fixes #1095 by testing whether the DotEnvContainer contains the dotenv_key for a setting, when the !isset part of the loop is run.

If the key is set in the DotEnvContainer we unset it.

Also adds further logging to the method - now contains the names of any changed, deleted, or newly set env vars

@afk11

afk11 commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

Need to follow this up with tests

@barryo
barryo merged commit 7f11e14 into main Sep 28, 2026
3 checks passed
@barryo
barryo deleted the log-env-changes branch September 28, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Settings UI does not allow a configuration value to the cleared

2 participants