Skip to content

Error when synchronizing the datawallet modification for a RequestedCredentialCacheEntry#893

Merged
tnotheis merged 5 commits intorelease/openid4vcfrom
error-when-synchronizing-the-datawallet-modification-for-a-RequestedCredentialCacheEntry
Dec 10, 2025
Merged

Error when synchronizing the datawallet modification for a RequestedCredentialCacheEntry#893
tnotheis merged 5 commits intorelease/openid4vcfrom
error-when-synchronizing-the-datawallet-modification-for-a-RequestedCredentialCacheEntry

Conversation

@tnotheis
Copy link
Member

@tnotheis tnotheis commented Dec 9, 2025

Readiness checklist

  • I added/updated tests.
  • I ensured that the PR title is good enough for the changelog.
  • I labeled the PR.
  • I self-reviewed the PR.

Description

Before my fix, the credential offer uri was used as the object identifier for the datawallet modification. This caused the following error on the Backbone, because it is too long:

String or binary data would be truncated in table 'sqldb-pilot.Synchronization.DatawalletModifications', column 'ObjectIdentifier'. Truncated value: 'openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fopenid4vc-service.is.enmeshed.eu%2Foid'

And since we don't want personal data on the Backbone anyway, and a credential offer IS personal data, I introduced an artificial id for the RequestedCredentialCacheEntries.

@tnotheis tnotheis requested a review from jkoenig134 December 9, 2025 16:14
@tnotheis tnotheis self-assigned this Dec 9, 2025
@tnotheis tnotheis added the bug Something isn't working label Dec 9, 2025
jkoenig134
jkoenig134 previously approved these changes Dec 9, 2025
Copy link
Contributor

@jkoenig134 jkoenig134 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everything but the comment LGTM

mergify bot and others added 3 commits December 10, 2025 05:47
…tawallet-modification-for-a-RequestedCredentialCacheEntry
…r-a-RequestedCredentialCacheEntry' of github.com:nmshd/runtime into error-when-synchronizing-the-datawallet-modification-for-a-RequestedCredentialCacheEntry
@tnotheis tnotheis enabled auto-merge (squash) December 10, 2025 06:00
@tnotheis tnotheis merged commit d4b55e5 into release/openid4vc Dec 10, 2025
15 checks passed
@tnotheis tnotheis deleted the error-when-synchronizing-the-datawallet-modification-for-a-RequestedCredentialCacheEntry branch December 10, 2025 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants