Skip to content

handle AppConfigTypeConflictException #1209

Merged
julien-nc merged 1 commit intomainfrom
enh/1208/safer-app-config-value
Oct 13, 2025
Merged

handle AppConfigTypeConflictException #1209
julien-nc merged 1 commit intomainfrom
enh/1208/safer-app-config-value

Conversation

@julien-nc
Copy link
Copy Markdown
Member

@julien-nc julien-nc commented Sep 25, 2025

When getting/setting allow_multiple_user_backends.

If the value was set manually with a different type, with occ, for some reason, it might not have the string type. In this case we return true in the getter. For the setter, we delete the value and write it again with the correct type.

refs #1208

@julien-nc julien-nc added enhancement New feature or request 3. to review labels Sep 25, 2025
…iple_user_backends

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc force-pushed the enh/1208/safer-app-config-value branch from c9696dc to b0d30d4 Compare October 13, 2025 13:47
@julien-nc julien-nc enabled auto-merge October 13, 2025 13:47
@julien-nc julien-nc disabled auto-merge October 13, 2025 14:30
@julien-nc julien-nc merged commit 1dfc32a into main Oct 13, 2025
42 checks passed
@julien-nc julien-nc deleted the enh/1208/safer-app-config-value branch October 13, 2025 14:30
@julien-nc julien-nc mentioned this pull request Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant