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 setting groups via web ui #355

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

zdohnal
Copy link
Contributor

@zdohnal zdohnal commented Mar 18, 2024

The template is generated incorrectly, so when form data are sent via POST, it does not contain new values for groups to save.

Additionally, set the default value to none and make sure the code does not take the value as a bad value.

Copy link
Owner

@michaelrsweet michaelrsweet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer that the empty string means "no group" since "none" is a valid group name.

@michaelrsweet michaelrsweet self-assigned this Mar 18, 2024
@michaelrsweet michaelrsweet added bug Something isn't working priority-low labels Mar 18, 2024
@michaelrsweet michaelrsweet added this to the v2.0 milestone Mar 18, 2024
@zdohnal zdohnal closed this Mar 19, 2024
The template is generated incorrectly, so when form data are sent via
POST, it does not contain new values for groups to save.

Additionally, set the default value to empty string and make sure
the code does not take the value as a bad value.
@zdohnal zdohnal reopened this Mar 19, 2024
@michaelrsweet michaelrsweet merged commit bb5d4ae into michaelrsweet:master Mar 22, 2024
5 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-low
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants