-
Notifications
You must be signed in to change notification settings - Fork 4
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: visualization deleted when saving it after copy (DHIS2-15722) #433
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.
Fix looks good, some form of testing might be useful though?
30a5dd2
to
ba571ee
Compare
🚀 Deployed on https://pr-433--dhis2-line-listing.netlify.app |
Passing run #2077 ↗︎
Details:
Review all test suite changes for PR #433 ↗︎ |
Added a Cypress test in DV. |
ce27c86
to
52a5a76
Compare
52a5a76
to
3f11932
Compare
3f11932
to
b39ce77
Compare
user is not used anyway and creates problems when saving a copied AO.
b39ce77
to
65d6605
Compare
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.
Approved when tests added.
## [100.11.1](v100.11.0...v100.11.1) (2023-11-30) ### Bug Fixes * visualization deleted when saving it after copy (DHIS2-15722) ([#433](#433)) ([f505c50](f505c50))
🎉 This PR is included in version 100.11.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Fixes DHIS2-15722
Requires dhis2/analytics#1573
Key features
Description
Refer to the ticket for the explanation on why it happened.
The PR fixes the issue by cleaning up the payload passed to the POST request for copying an existing visualization.