Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-977

GetPendingMutations looking for incorrect structure in response body

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.7
    • None
    • None
    • 1

    Description

      Whilst we have tests for this, they test against a dataset which is over no data. When performed over dataset(s) with data we see `json: cannot unmarshal object into Go value of type uint64`

       

      The correct format to parse is

      {
      "Default" :

      { "default" : 0 }

      }

      where Default is the dataverse and default is the dataset name

      Attachments

        Issue Links

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

          Activity

            charles.dixon Charles Dixon created issue -
            charles.dixon Charles Dixon made changes -
            Field Original Value New Value
            Status New [ 10003 ] Open [ 1 ]
            charles.dixon Charles Dixon made changes -
            Fix Version/s 2.1.7 [ 17056 ]
            Fix Version/s 2.1.6 [ 17030 ]
            charles.dixon Charles Dixon made changes -
            Description Whilst we have tests for this, they test against a dataset which is over no data. When performed over dataset(s) with data we see `json: cannot unmarshal object into Go value of type uint64` Whilst we have tests for this, they test against a dataset which is over no data. When performed over dataset(s) with data we see `json: cannot unmarshal object into Go value of type uint64`

             

            The correct format to parse is

            {
             "Default" : {
             "default" : 0
             }
            }

            where Default is the dataverse and default is the dataset name
            charles.dixon Charles Dixon made changes -
            Link This issue is cloned by GOCBC-986 [ GOCBC-986 ]
            charles.dixon Charles Dixon made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            charles.dixon Charles Dixon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]

            People

              charles.dixon Charles Dixon
              charles.dixon Charles Dixon
              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