fix: modifying a proposal#8157
Conversation
|
Seen in #8095 (comment) |
Signed-off-by: taiebot <dedreuil@yahoo.fr>
ea27efb to
e5a1e27
Compare
SebastianKrupinski
left a comment
There was a problem hiding this comment.
Tested. Looks good!
Not sure how I missed this during final testing, I guess I never dragged a date to a different time.
Thank you!!!
|
/backport to stable6.3 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Current code is wrong because:
So when we detect a modification, we are returning the old object instead of the new one.
On main
create a proposal. (save)
exit
re-enter Try to modify it => nothing happens (fail silently)
With pull request
create a proposal (save)
exit
Modify it => proposal is modified accurately