Closed volixer closed 13 years ago
Hello,
thanks for your bugreport.
You're right, something was broken... However the ";" wasn't a typo but the next character after ":" in ascii collation. But it seems that, unlike said in http://wiki.apache.org/couchdb/View_collation , _users/_all_docs view uses icu collation... Whatever this should be fixed in commit abbdaf5. Please re-open if that's not working for you (I tested with trunk couchdb).
Regards,
Mickael
Hi !
First of all, many thanks for your great work :)
I think there is a unintentional mistake (maybe I'm wrong) in couchAdmin.php line 224 : couchAdmin.php:224: return $client->startkey("org.couchdb.user:")->endkey("org.couchdb.user;")->getAllDocs()->rows;
there is a ';' instead of a ':' in the endkey.
I got this kind of error message :
PHP Fatal error: Uncaught exception 'couchException' with message 'Bad Request - No rows can match your key range, reverse your start_key and end_key or set descending=true (GET /_users/_all_docs {"startkey":"\"org.couchdb.user:\"","endkey":"\"org.couchdb.user;\""})' in /var/www/bkg.com/lib/couchClient.php:1016\nStack trace:\n#0 /var/www/bkg.com/lib/couchClient.php(157): couchException::factory(Array, 'GET', '/_users/_all_do...', Array)\n#1 /var/www/bkg.com/lib/couchClient.php(937): couchClient->_queryAndTest('GET', '/_users/_all_do...', Array, Array, NULL)\n#2 /var/www/bkg.com/lib/couchAdmin.php(224): couchClient->getAllDocs()\n#3 /var/www/bkg.com/cgi-bin/list_all_users.php(43): couchAdmin->getAllUsers()\n#4 {main}\n thrown in /var/www/bkg.com/lib/couchClient.php on line 1016, referer: http://lithium/