Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Emilien Bevierre
Emilien BevierreReporter
Emilien Bevierre
Emilien BevierreStory Points
2
Sprint
None
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
Sentry
Sentry
Zendesk Support
Zendesk Support
Created May 9, 2024 at 1:34 PM
Updated June 5, 2024 at 4:10 PM
Resolved June 5, 2024 at 4:10 PM
Failure
A. SerializersTest
stagedReplacedSerialized
Error Message
The assertion failing for this test is:
Root Cause
The deserialization of the document spec into DocumentMetadata is failing (https://github.com/couchbase/couchbase-net-client/blob/5a8a04e0b046a20dc9b4b91bbff564ee9d89335b/src/Couchbase.Transactions/DataAccess/DocumentRepository.cs#L195).
This is due to the MetadataSerializer being passed in the LookupInOptions through the Serializer field, instead of passing in a Transcoder(Serializer) in the options. LookupInResult.ContentAs<T> uses the Transcoder's Serializer to deserialize content.