You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Sam Bisbee (Closed) (JIRA)" <ji...@apache.org> on 2012/02/21 23:48:48 UTC

[jira] [Closed] (COUCHDB-54) Error 500 on views when no data indexed

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

Sam Bisbee closed COUCHDB-54.
-----------------------------


Resolved for a while. Closing.
                
> Error 500 on views when no data indexed
> ---------------------------------------
>
>                 Key: COUCHDB-54
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-54
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Benoit Chesneau
>             Fix For: 0.8
>
>
> when theer are no data indexed by the view and you call the view it return an error 500 rather than a 404 not found :
> {"error":"EXIT","reason":"{function_clause,[{cjson,tokenize,[undefined,{decoder,utf8,null,1,1,any}]},\\n {cjson,decode1,2},\\n {cjson,json_decode,2},\\n {couch_httpd,handle_db_request,3},\\n {couch_httpd,handle_request,2},\\n {mochiweb_http,headers,4},\\n {proc_lib,init_p,5}]}"}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira