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

ViewOptions.toURLValues sets incompatible group and group_level

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.1
    • Component/s: library
    • Labels:
      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

          Hide
          adamf Adam Fraser added a comment -

          Verified the fix - thanks!

          Show
          adamf Adam Fraser added a comment - Verified the fix - thanks!
          Hide
          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

          Show
          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

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