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

ViewOptions.toURLValues sets incompatible group and group_level

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.1
    • library
    • None

    Description

      Sync Gateway has a unit test that's issuing a view query with reduce=true and group_level=2. This works as expected using gocb v1, but in v2 it returns a query parse error:
      "Query parameter `group_level` is not compatible with `group`"

      It looks to me like the answer to the question posed here is "no", or at least "not if group_level is set".

      Attachments

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

        Activity

          adamf Adam Fraser added a comment -

          Verified the fix - thanks!

          adamf Adam Fraser added a comment - Verified the fix - thanks!

          Build sync_gateway-3.0.0-346 contains gocb commit ed16d5d with commit message:
          GOCBC-1140: Only set views group field if option is set to true

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-346 contains gocb commit ed16d5d with commit message: GOCBC-1140 : Only set views group field if option is set to true

          People

            charles.dixon Charles Dixon
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty