Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-131

Couchbase view error response

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.0.1
    • 2.0.0-beta
    • library
    • Security Level: Public
    • CentOS / Node v0.10.28

    Description

      Whenever you request a descending range without a descending key the view error isn't returned.
      The Couchbase response
      "

      {"error":"query_parse_error","reason":"No rows can match your key range, reverse your start_key and end_key or set descending=true"}

      "

      Should be returned as error. Currently is doesn't provide the errorMessage (https://github.com/Sweebr/couchnode/blob/2.0.0-beta/lib/bucket.js#L492)

      Attachments

        Issue Links

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

          Activity

            People

              brett19 Brett Lawson
              Rene René
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                  Gerrit Reviews

                    There are no open Gerrit changes

                    PagerDuty