FIT TXN: Serializers Failure (1)

Description

Failure

A. SerializersTest

  1. 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.

 

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

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
Instabug