You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Kowalski (JIRA)" <ji...@apache.org> on 2014/11/14 16:03:34 UTC

[jira] [Updated] (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:all-tabpanel ]

Robert Kowalski updated COUCHDB-2462:
-------------------------------------
    Description: 
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}

  was:
On Couch 1.6 /_bulk_docs returned ok: true on 2.0 the 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>


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