You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Randall Leeds (Closed) (JIRA)" <ji...@apache.org> on 2011/10/01 05:22:45 UTC

[jira] [Closed] (COUCHDB-990) Update handlers ignore HTTP status codes in responses

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

Randall Leeds closed COUCHDB-990.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2
                   1.1.1

Fixed on trunk in r1177890.
Fixed on 1.2.x in r1177891.
Fixed on 1.1.x in r1177892.
                
> Update handlers ignore HTTP status codes in responses
> -----------------------------------------------------
>
>                 Key: COUCHDB-990
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-990
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.0.1
>         Environment: OSX, built using brew
>            Reporter: Nick Fisher
>             Fix For: 1.1.1, 1.2
>
>
> The following update handler will always return 200
> '''
> function(doc, req){
>   return [null, {code: 400, body: 'bad user request'];
> }
> '''

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