couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2462) /_bulk_docs API does not return a doc including an ok:true property on success any more
Date Mon, 17 Nov 2014 14:16:34 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214680#comment-14214680
] 

ASF GitHub Bot commented on COUCHDB-2462:
-----------------------------------------

Github user robertkowalski commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/150#issuecomment-63309937
  
    good point - using promises now - did a lot of node the weekend and was still in callback-mode
:) much cleaner & leaner now!
    
    +1 on writing a nightwatch test for it - suggestion how to proceed: if we get nightwatch
merged until tomorrow morning, wait for nightwatch on master and add test. if we haven't merged
until then, merge the fix and add a test afterwards once nightwatch is added.


> /_bulk_docs API does not return a doc including an ok:true property on success any more
> ---------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-2462
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2462
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: BigCouch, Fauxton
>            Reporter: Robert Kowalski
>
> On Couch 1.6 /_bulk_docs returned ok: true when the request was an success. On 2.0 the
ok property is missing
> Example success message on 2.0:
> {code}
> [{"id":"Brocket","rev":"6-b6fa9e703c3eb92aa9c3a49cedf1e8c2"}]
> {code}
> Example error message on 2.0:
> {code}
> [{"id":"Blaggie-System","error":"conflict","reason":"Document update conflict."},{"id":"Bmodule","error":"conflict","reason":"Document
update conflict."}]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message