You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Nick Fisher (JIRA)" <ji...@apache.org> on 2010/12/16 21:17:02 UTC

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

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


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


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

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

        

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

Posted by "Christian Carter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975307#action_12975307 ] 

Christian Carter commented on COUCHDB-990:
------------------------------------------

This is also reported at https://issues.apache.org/jira/browse/COUCHDB-648.

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