-
Notifications
You must be signed in to change notification settings - Fork 160
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
ResourceFingerprintVisitor fails to account for integer values #3616
Labels
bug
Something isn't working
Comments
lmsurpre
changed the title
ResourceFingerprinter fails to account for integer values
ResourceFingerprintVisitor fails to account for integer values
May 3, 2022
lmsurpre
added a commit
that referenced
this issue
May 3, 2022
Signed-off-by: Lee Surprenant <[email protected]>
lmsurpre
added a commit
that referenced
this issue
May 3, 2022
Signed-off-by: Lee Surprenant <[email protected]>
lmsurpre
added a commit
that referenced
this issue
May 4, 2022
issue #3616 - flip the bytebuffer before we use it to update the digest
Defined a new extension search parameter:
Create an instance of the resource:
Inspect the database to see the current parameter_hash value:
And the stored search parameter value should be 12
Next UPDATE the resource using a different integer value then inspect the database:
Note the new value is stored and the parameter_hash is different, as expected. |
Reviewed above with Lee and agreed we can close this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I found that the ResourceFingerprintVisitor is failing to add integer values to its digest.
Environment
main
To Reproduce
Expected behavior
the test should succeed
Additional context
does the ByteBuffer need to get flipped before we add it to the digest?
The text was updated successfully, but these errors were encountered: