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

UI unable to handle error generated when view query has negative value for skip

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 2.0
    • 2.0
    • UI
    • Security Level: Public
    • latest cluster run

    Description

      This ticket is for the UI issue faced during bug http://www.couchbase.com/issues/browse/MB-7117.

      UI is unable to handle the error returned when view query has negative value for skip and displays "webpage is not available" error(screenshot attached)

      negative SKIP Query
      bash> curl -v -s 'http://127.0.0.1:9500/beer-sample/_design/beer/_view/brewery_beers?connection_timeout=60000&skip=-2&limit=10'

      • About to connect() to 127.0.0.1 port 9500 (#0)
      • Trying 127.0.0.1... connected
      • Connected to 127.0.0.1 (127.0.0.1) port 9500 (#0)
        > GET /beer-sample/_design/beer/_view/brewery_beers?connection_timeout=60000&skip=-2&limit=10 HTTP/1.1
        > User-Agent: curl/7.21.4 (x86_64-unknown-linux-gnu) libcurl/7.21.4 OpenSSL/1.0.1 zlib/1.2.3.4
        > Host: 127.0.0.1:9500
        > Accept: /
        >
        < HTTP/1.1 200 OK
        < Transfer-Encoding: chunked
        < Server: MochiWeb/1.0 (Any of you quaids got a smint?)
        < Date: Wed, 07 Nov 2012 10:03:58 GMT
        < Content-Type: text/plain;charset=utf-8
        < Cache-Control: must-revalidate
        <
      • Received problem 2 in the chunky parser
      • Closing connection #0

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            deepkaran.salooja Deepkaran Salooja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty