Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
1.0.0, 1.1.0
-
None
-
1
-
SDK08: Node, Cld Init, Cnc Tst
Description
While attempting to implement a custom serializer to test the behaviour similar to how we do in Java, I have noticed that the custom serializer provided in the docs here: https://docs.couchbase.com/dotnet-sdk/current/howtos/transcoders-nonjson.html
Does not work while using dotnet transactions.
The class was implemented identically to the one from the docs, and was put into use by using .withSerializer() on the clusterOptions class.
When an Insert is attempted the ATR does not have a valid entry under "ins":
Instead this will be empty square brackets.. If the transaction is allowed to succeed then a document is created with empty content.
When a replace is attempted the ATR does not have a valid entry under "rep":
Instead it will have nested empty square brackets like the example I will leave at the bottom of the ticket. If the transaction is allowed to succeed then the document content is left empty.
This WIP pull request contains the changes to the FIT performer I have made to try to test this feature, and I welcome anyone addressing this ticket to check it out to verify there is no user error.
https://review.couchbase.org/c/transactions-fit-performer/+/168622
"rep": [
[
[
[]
],
[
[]
],
[
[]
],
[
[]
]
]
],