nlight-jdev / jcouchdb

Automatically exported from code.google.com/p/jcouchdb
Other
0 stars 0 forks source link

bulkDeleteDocuments doesn't use DocumentHelper to get Id and Revision #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create domain object that contains aliased id and revision fields.
2. Create several documents in the database
3. Try to delete them using bulkDeleteDocuments

What is the expected output? What do you see instead?
I expected to have the documents deleted, instead I get an exception stating 
that I don't have a 
Document object.

What version of the product are you using? On what operating system?
0.10.0-2

Please provide any additional information below.
Technically, the definition of the documents parameter is List<? extends 
Document>, but this 
isn't enforced by the compiler and all of the other methods accept Object and 
use the 
DocumentHelper to get the Id and Revision fields.

Original issue reported on code.google.com by cory.hac...@gmail.com on 23 Oct 2009 at 4:34

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r226.

Original comment by ff...@gmx.de on 23 Oct 2009 at 4:42