You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/10/03 13:06:45 UTC

[GitHub] [couchdb] snowyu opened a new issue #2226: _bulk_docs with new_edits is false should not return empty array.

snowyu opened a new issue #2226: _bulk_docs with new_edits is false should not return empty array.
URL: https://github.com/apache/couchdb/issues/2226
 
 
   ## Description
   
   Based on _bulk_docs endpoint documentation, there is required to id field in response. But the current operation with new_edits is always return an empty array.
   
   
   ## Steps to Reproduce
   
   ```js
   Request
   POST _bulk_docs
   {
     "new_edits": false,
     "docs": [
         {
            "_id": "test",
            "_rev": "1-init",
          }
     ]
   }
   Response
   []
   ```
   
   ## Expected Behaviour
   
   ```js
   Response
   [
       {
           "ok": true,
           "id": "test",
           "rev":" 1-init"
       },
    
   ```
   
   ## Your Environment
   
   * CouchDB Version 2.3.1
   * Ubuntu 19.04
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services