Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
2.0
-
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