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


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to