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

ASF subversion and git services commented on COUCHDB-2462:
----------------------------------------------------------

Commit fa9d7bca79f1df2d592335b633ac69a3d5e43a51 in couchdb-chttpd's branch 
refs/heads/COUCHDB-2462-bulk-ok-true from [~robertkowalski]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=fa9d7bc ]

Return ok:true on _bulk_doc update

Return `ok: true` on a successful _bulk_doc update like in
CouchDB 1.6.

Example success message on 2.0:
```
[{"id":"Brocket","rev":"6-b6fa9e703c3eb92aa9c3a49cedf1e8c2"}]
```

Example error message on 2.0:
```
[{"id":"Blaggie-System","error":"conflict",
  "reason":"Document update conflict."}]
```

Finally closes COUCHDB-2462


> /_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
>            Assignee: 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)

Reply via email to