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

Null search response hits lead to an internal gocbcore error

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • core-10.0.0, core-9.1.5
    • None
    • None
    • 1

    Description

      There are cases where an fts response object can contain the `hits` field but its value be null. When this happens we return an error with "expected an opening bracket for the rows". We should properly handle this error case.

      Attachments

        Issue Links

          For Gerrit Dashboard: GOCBC-1106
          # Subject Branch Project Status CR V

          Activity

            Build sync_gateway-3.0.0-273 contains gocbcore commit dd60e7e with commit message:
            GOCBC-1106: Allow hits field to be nil in search response

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-273 contains gocbcore commit dd60e7e with commit message: GOCBC-1106 : Allow hits field to be nil in search response

            Build couchbase-server-7.1.0-2094 contains gocbcore commit a7ffbbf with commit message:
            GOCBC-1106: Allow hits field to be nil in search response

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-2094 contains gocbcore commit a7ffbbf with commit message: GOCBC-1106 : Allow hits field to be nil in search response

            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