couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (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 Tue, 18 Nov 2014 12:06:33 GMT

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

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

Commit 235d544517f64941a796e382bbc67b520a241fed in couchdb-fauxton's branch refs/heads/master
from [~robertkowalski]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-fauxton.git;h=235d544 ]

Fix bulk-delete on all-doc-page

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

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

Steps to reproduce the error in Fauxton:

 - select 1 document in the all_docs screen
 - click the trash icon to delete it
 - click ok to delete it
 - you are able to click the trash icon again and if you do, you
   get an error

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
>
> 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