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

Weird Documet Fetch Error on Valid Json Document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 1.2.0
    • library
    • Couchbase on Docker, Latest Couchbase Enterprise Docker and 4.5.0

    Description

      I have inserted nearly 100 docs in Couchbase using Bulk Operation with gocb . There were no syntax error in json . I have attached a sample json .

      The problem is when i try to get the doc by meta id, it failed saying `You must encode a string in a string or interface`

      Then I check the doc and binding with golang struct , no problem found and then again if I changed a value just to toggle the edit and save . Lets say a `city` field value changed from 'San Francisco' to 'San Fra' and then save the doc and call from gocb get method . It works fine !

      So if I toggle edit and save then the doc fetches fine but other than that it shows the error message above . Also like to mention only the toggled document is fetched fine not the others .

      I have tried different couchbase versions but no luck

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            fahim.shoumik Fahim Shariar Shoumik
            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