-
-
Notifications
You must be signed in to change notification settings - Fork 398
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/accountability progress #3952
Fix/accountability progress #3952
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks! Just a changelog comment but other than that it's good to go! 😍
CHANGELOG.md
Outdated
@@ -45,6 +45,7 @@ | |||
|
|||
**Fixed**: | |||
|
|||
- **decidim-ac countability**: Fix progress when provided. [\#3952](https://github.com/decidim/decidim/pull/3952) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a 🐛'gy whitespace here :) Also, the text is a bit vague, better to say "Fix accountability progress to be between 0 and 100 if provided" like in the PR description!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your feedback !
@armandfardeau thanks for the PR! It's weird you got that number, did you manually modify the values from the DB or was it done by Decidim itself? |
@mrcasals I didn't change anything in DB, I've juste updated the form. As there is no validation on form nor model, you could submit everything you wanted. Please let me know if validation on model is needed. |
No, it's good as it is! 😄 |
🎩 What? Why?
Fix accountability progress to be between 0 and 100 if provided
Progress was not constrained to a range, you could choose a number superior to 100 resulting in error.
The range is now within 0 to 100 and can be empty.
Fixes #3956
📋 Subtasks
CHANGELOG
entry📷 Screenshots (optional)