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

Subdoc create document integration tests fails

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    Description

      CouchbaseBucket_SubDocument_Tests > Can_Create_Document_With_CreateDocument_Subdoc_Flag

      Attachments

        For Gerrit Dashboard: NCBC-1494
        # Subject Branch Project Status CR V

        Activity

          This is not related to spock integration tests, but rather because the create document flag needs to be in a different byte.

          mike.goldsmith Michael Goldsmith added a comment - This is not related to spock integration tests, but rather because the create document flag needs to be in a different byte.
          jmorris Jeff Morris added a comment -

          Michael Goldsmith - assigning back to you since you already have a changeset in gerrit. LMK if your done and ready for review.

          jmorris Jeff Morris added a comment - Michael Goldsmith - assigning back to you since you already have a changeset in gerrit. LMK if your done and ready for review.

          Pushed new patchset, though it is a fairly large change from what we had previously. This is the best time to make this change as the API will become committed in 2.5.0.

          Instead of SubdocLookupFlags and SubdocMutateFlags, we actually needed SubdocPathFlags and SubdocDocFlags. I've worked my way through and updated all the usage, fixed tests, etc. This includes creating a document using the doc flag which is now successful.

          There are a couple of pending issues:

          • multi look / mutation operations don't include doc flags in the extras setion
          • I haven't verified if full doc access via subdoc is working yet
          mike.goldsmith Michael Goldsmith added a comment - Pushed new patchset, though it is a fairly large change from what we had previously. This is the best time to make this change as the API will become committed in 2.5.0. Instead of SubdocLookupFlags and SubdocMutateFlags, we actually needed SubdocPathFlags and SubdocDocFlags. I've worked my way through and updated all the usage, fixed tests, etc. This includes creating a document using the doc flag which is now successful. There are a couple of pending issues: multi look / mutation operations don't include doc flags in the extras setion I haven't verified if full doc access via subdoc is working yet

          People

            mike.goldsmith Michael Goldsmith
            mike.goldsmith Michael Goldsmith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty