You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benoit Chesneau (JIRA)" <ji...@apache.org> on 2008/05/13 22:53:55 UTC

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

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.


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

Posted by "Christopher Lenz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Lenz resolved COUCHDB-54.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

Feedback on IRC suggests this is fixed.

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


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

Posted by "Christopher Lenz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599723#action_12599723 ] 

Christopher Lenz commented on COUCHDB-54:
-----------------------------------------

I can't reproduce this... can you please provide some more details on how to reproduce?

> 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.