-
Notifications
You must be signed in to change notification settings - Fork 1
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
IMN-587 - Upgrade agreement fix #619
Conversation
816e6f3
to
27f9568
Compare
packages/agreement-process/src/services/agreementUpgradeProcessor.ts
Outdated
Show resolved
Hide resolved
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 took ownership of this PR and solved the comments so that @Viktor-K can focus on BFF, waiting for approval from others 👍
Took ownership of this PR and addressed the comments
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.
Added this test suite to reproduce the bug scenario and verify that it's solved.
Co-authored-by: Alessio Gallitano <[email protected]>
Close IMN-587
Description
This PR fixes the IMN-587 bug and adds tests for the corresponding Agreement flows.
🔍 Analysis
On Agreement upgrade, a new Agreement is created, and this operation resets all suspension flags - in this way, those flags are lost and thus ignored during subsequent activation.
✅ Resolution
upgrade
andsubmit
Agreement operations preserve consumer/producer suspension flags.