CouchDB
  1. CouchDB
  2. COUCHDB-990

Update handlers ignore HTTP status codes in responses

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.1.1, 1.2
    • Component/s: JavaScript View Server
    • Labels:
      None
    • Environment:

      OSX, built using brew

      Description

      The following update handler will always return 200

      '''
      function(doc, req){
      return [null,

      Unable to find source-code formatter for language: 400, body: 'bad user request']; . Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
      
      

      '''

        Issue Links

          Activity

          Hide
          Randall Leeds added a comment -

          Fixed on trunk in r1177890.
          Fixed on 1.2.x in r1177891.
          Fixed on 1.1.x in r1177892.

          Show
          Randall Leeds added a comment - Fixed on trunk in r1177890. Fixed on 1.2.x in r1177891. Fixed on 1.1.x in r1177892.
          Hide
          Christian Carter added a comment -
          Show
          Christian Carter added a comment - This is also reported at https://issues.apache.org/jira/browse/COUCHDB-648 .

            People

            • Assignee:
              Unassigned
              Reporter:
              Nick Fisher
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development