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

Subdocument - Singular Replace always fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.3
    • Component/s: library
    • Labels:
    • Environment:
      .NET / Windows

      Description

      Summary: No matter what path I give Remove, it always says "InvalidArguments"

      Repro:
      1. Create document with key 'foo', and at least one json field like "bar".
      2. Use MutateIn<dynamic>("foo").Remove("bar")
      (see attached code example)

      Actual
      OpStatus("bar") is InvalidArguments.

      Expected
      Success

        Attachments

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

          Activity

          Hide
          jmorris Jeff Morris added a comment -

          Multi-method remove works correctly.

          Show
          jmorris Jeff Morris added a comment - Multi-method remove works correctly.

            People

            • Assignee:
              jmorris Jeff Morris
              Reporter:
              matthew.groves Matthew Groves
            • 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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.