You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (JIRA)" <ji...@apache.org> on 2009/02/17 19:45:00 UTC

[jira] Created: (COUCHDB-258) Nicer error messages for view parameters that are not valid JSON

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.


[jira] Closed: (COUCHDB-258) Nicer error messages for view parameters that are not valid JSON

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
     [ 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.