Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7156

view Filter Results startkey/endkey fields needs double-quotes, but error message is unhelpful ( hint in the UI would be helpful )

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 3.0
    • 2.0
    • UI
    • Security Level: Public
    • None

    Description

      "This might be obvious for a couchdb user (or might not), but when using the Filter Results popdown on the view query editor...

      If you type a start key (without double-quotes) of... a

      Then you get an unhelpful error of...

      from:
      http://10.3.121.192:8092/default/_design/dev_stats/_view/killers?startkey=a&limit=10&skip=0
      reason:
      bad_request (invalid UTF-8 JSON: error,{1,""lexical error: invalid char in json text.\n"", ""a""})

      It should instead either suggest that you type ""a"" or perhaps even (more controversially?) type the double-quotes for you."

      Attachments

        Issue Links

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

          Activity

            People

              yaseen Rahim Yaseen (Inactive)
              steve Steve Yen
              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