nlight-jdev / jcouchdb

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

Bug when using startkey_docid #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

as I have learnt today the parameter value for "startkey_docid" should not
contain quotation marks! Otherwise paging won't work. A dirty solution
would be to remove the marks manually in the Options class:

...
String json = optionsJSON.forValue(e.getValue());
if( e.getKey().equals("startkey_docid") ){
  json = json.substring(1, json.length() -1 );
}
...

Daniel

Original issue reported on code.google.com by truem...@gmail.com on 26 Aug 2009 at 3:52

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

Original comment by ff...@gmx.de on 28 Aug 2009 at 3:32

GoogleCodeExporter commented 8 years ago
Hi, I would like to reopen this! The same bug is with the "stale" option!

Daniel

Original comment by truem...@gmail.com on 11 Oct 2009 at 1:56

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

Original comment by ff...@gmx.de on 11 Oct 2009 at 4:47