Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsing of 'hidden' configuration option #396

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

dlax
Copy link
Member

@dlax dlax commented Aug 24, 2023

No description provided.

This illustrates an issue when parsing UISection from configparser's
SectionProxy: 'hidden' should be False in the test case, not None.
As explained in previous commit, we were setting UISection.hidden to
None when no value was present in the configuration file, instead of
keeping the default value from model. Making the parsing logic more
specific resolves the issue.
@dlax dlax merged commit f369b9a into dalibo:master Aug 24, 2023
3 checks passed
@dlax dlax deleted the config-parse-fix branch August 24, 2023 09:20
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.

1 participant