-
Notifications
You must be signed in to change notification settings - Fork 38
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(dataset/workflow): Add catcombos to workflows and make workflows … #2894
fix(dataset/workflow): Add catcombos to workflows and make workflows … #2894
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.
I'm not a front-end dev, but this code looks right to me. I've watched Ben test it and it seems to cover all the cases presented in the Jira ticket.
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 a lot for implementing this, and very impressive to get into this code!
Just a question though; it seems like the backend will "default" to the default-catcombo
if null is sent for catcombo in workflows. I guess this is intended for 2.42
?
@Birkbjo Thanks, good point! Since approximately 2018, when workflows were created or edited, the backend assigned them the default cat combo. This change to the Maintenance app simply lets a user choose a different cat combo. Once version 2.42 comes out, the flyway script I'm writing will change workflows with null or default cat combos to the correct cat combo based on their data sets. As such, we believe that the way the workflow cat combo works in the Maintenance app is acceptable prior to version 2.42 and is the right approach for 2.42 and later. |
Yes, @benguaraldi, as I mentioned before, this code looks right to me. @Birkbjo, it would be great to get this merged so I can then change some functionality in the backend that relies on this Maintenance app behavior. Thanks! |
…only selectable when their catcombo matches the data set's
… with any catcombo, so modifying
c89ae2c
to
834a4ac
Compare
## [32.31.5](v32.31.4...v32.31.5) (2024-08-21) ### Bug Fixes * **dataset/workflow:** Add catcombos to workflows and make workflows … ([#2894](#2894)) ([1c1c2fc](1c1c2fc))
🎉 This PR is included in version 32.31.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Thanks, @Birkbjo! |
The full title was "fix(dataset/workflow): Add catcombos to workflows and make workflows only selectable when their catcombo matches the data set's" but it looks like that was too long.
This code implements all four requests from DHIS2-17576.