Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2831

MutateIn is not throwing and classifying sub-doc errors correctly.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.4
    • None
    • None
    • None
    • 1

    Description

      I think this has gone both directions. We need to nail down what the correct behavior is according to the RFC.

       

      Currently, a MutateIn with StoreSemantics.Upsert does not throw PathAlreadyExists on an XATTR with CreatePath: false, even when the server is returning SubDocPathExists.  It just silently succeeds, and there's no way for the user to detect it via any public fields/properties/methods on the return value.

       

      Transactions RFC seems to imply that it should be throwing.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              richard.ponton Richard Ponton
              richard.ponton Richard Ponton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty