couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COUCHDB-258) Nicer error messages for view parameters that are not valid JSON
Date Wed, 18 Feb 2009 07:51:01 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Anderson closed COUCHDB-258.
----------------------------------

    Resolution: Fixed

fixed in r745401.

Our version of mochijson2 is already somewhat diverged from the original. This change is worth
sending upstream, I'm not sure about the others.

> Nicer error messages for view parameters that are not valid JSON
> ----------------------------------------------------------------
>
>                 Key: COUCHDB-258
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-258
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.8.1, 0.9
>            Reporter: Jan Lehnardt
>            Priority: Blocker
>             Fix For: 0.9
>
>
> If a view that defines a string key gets queried with startkey=foo, CouchDB returns a
(cryptic) error message. A message saying that the value is no valid JSON and should be startkey="foo"
instead would help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message