Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-2650

Etag is 'undefined' when _all_docs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • HTTP Interface
    • None

    Description

      Steps to reproduce
      http --json --auth='adm:pass' PUT 'http://localhost:15984/test_db'
      http -v --json --auth='adm:pass' GET 'http://localhost:15984/test_db/_all_docs'
      HTTP/1.1 200 OK
      Cache-Control: must-revalidate
      Content-Type: application/json
      Date: Thu, 26 Mar 2015 15:21:56 GMT
      ETag: undefined
      Server: CouchDB/b6d8665 (Erlang OTP/17)
      Transfer-Encoding: chunked
      X-Couch-Request-ID: 2f7f8320
      X-CouchDB-Body-Time: 0

      {
      "offset": 0,
      "rows": [],
      "total_rows": 0
      }

      The cause of this is in the following line https://github.com/apache/couchdb-couch-mrview/blob/master/src/couch_mrview_http.erl#L331

      Attachments

        Issue Links

          Activity

            People

              klaus_trainer Klaus Trainer
              iilyak Ilya Khlopotov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: