Skip to content
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

Ensure "preserve_exchange_records" flags are set. #2664

Conversation

usingtechnology
Copy link
Contributor

Not all cases on issue credential (v1 and v2) were respecting the system default.

There was a bug on issue credential v1 where auto_remove flag was set then ignored before the record was saved.

So behaviour has been tested for issue credential (v1 & v2) and proof presentation (v1 & v2); exchange records are preserved if the --preserve-exchange-records is true and auto_remove has not been set to True on API calls that accept it (ie send-offer, send-request).

Fixes #2656

usingtechnology and others added 2 commits December 8, 2023 16:39
Not all cases on issue credential (v1 and v2) were respecting the system default.
Bug on issue credential v1 where auto_remove flag was set then ignored before record saved.

Signed-off-by: Jason Sherman <[email protected]>
@dbluhm dbluhm enabled auto-merge December 9, 2023 17:22
Copy link

sonarqubecloud bot commented Dec 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dbluhm dbluhm merged commit 8cfe828 into openwallet-foundation:main Dec 9, 2023
8 checks passed
@usingtechnology usingtechnology deleted the issue_2656_preserve_records_flag branch December 11, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make sure —preserve-exchange-records applies to issuers, holders, and verifiers
2 participants