You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/02/09 19:55:35 UTC

[jira] [Commented] (COUCHDB-2462) /_bulk_docs API does not return a doc including an ok:true property on success any more

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

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

Commit 4ea930e62f4e2fceb0e13a62ecd90cb628477c9c in couchdb-chttpd's branch refs/heads/master from [~robertkowalski]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=4ea930e ]

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 (broken):
```
[{"id":"Brocket","rev":"6-b6fa9e703c3eb92aa9c3a49cedf1e8c2"}]
```

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

Example success message on 1.x:
```
[{"id":"Brocket", "ok": true, "rev":"6-b6fa9e703c3eb92aa9c3a49cedf1e8c2"}]
```

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)