Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 17214 invoked from network); 12 Jul 2010 16:19:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Jul 2010 16:19:28 -0000 Received: (qmail 30248 invoked by uid 500); 12 Jul 2010 16:19:27 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 30171 invoked by uid 500); 12 Jul 2010 16:19:26 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 30162 invoked by uid 99); 12 Jul 2010 16:19:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 16:19:26 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [212.27.42.10] (HELO smtpfb2-g21.free.fr) (212.27.42.10) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 16:19:17 +0000 Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by smtpfb2-g21.free.fr (Postfix) with ESMTP id 16BDB48B83C for ; Mon, 12 Jul 2010 17:32:57 +0200 (CEST) Received: from zimbra5-e1.priv.proxad.net (zimbra5-e1.priv.proxad.net [172.20.243.155]) by smtp1-g21.free.fr (Postfix) with ESMTP id EE3DE9401D1 for ; Mon, 12 Jul 2010 17:32:53 +0200 (CEST) Date: Mon, 12 Jul 2010 17:32:52 +0200 (CEST) From: mickael.bailly@free.fr To: dev@couchdb.apache.org Message-ID: <1899243602.3645581278948772753.JavaMail.root@zimbra5-e1.priv.proxad.net> In-Reply-To: <1970804693.3645111278948633790.JavaMail.root@zimbra5-e1.priv.proxad.net> Subject: Re: [VOTE] Apache CouchDB 1.0.0 release, second round MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.30.182.129,192.54.145.194] X-Mailer: Zimbra 5.0 (ZimbraWebClient - SAF3 (Win)/5.0.15_GA_2815.UBUNTU8_64) X-Authenticated-User: mickael.bailly@free.fr X-Virus-Checked: Checked by ClamAV on apache.org Hello y'all, I don't know if it's a showstopper, but the current _design/auth/validate_d= oc_update of the _users database seems buggy : I can't delete a user. I use the tarball of 1.0.0 release, second round. When deleting a user, using the DELETE Rest Query, with server admin creden= tials, newDoc takes the form of : {"_id":"org.couchdb.user:joe","_rev":"1-3aa8c71e227226e1363a759839a572d8","= _deleted":true,"_revisions":{"start":1,"ids":["3aa8c71e227226e1363a759839a5= 72d8"]}} The type: "user" field is not present. That makes the validate_doc_update r= efuse the deletion. The fix I found is in the first line of _design/auth/validate_doc_update : replace : if ((oldDoc && oldDoc.type !=3D=3D 'user') || newDoc.type !=3D=3D 'user' ) = { with if ((oldDoc && oldDoc.type !=3D=3D 'user') || (newDoc.type !=3D=3D 'user' &= & newDoc._deleted !=3D=3D true ) ) { and it works. I'm not sure this fix is enough... Perhaps I missed something, but I could not find infos about deleting user = in the wiki nor in the "definitive guide".=20 Regard, Mickael ----- Mail Original ----- De: "Noah Slater" =C3=80: dev@couchdb.apache.org Envoy=C3=A9: Vendredi 9 Juillet 2010 18h55:31 GMT +01:00 Amsterdam / Berlin= / Berne / Rome / Stockholm / Vienne Objet: [VOTE] Apache CouchDB 1.0.0 release, second round Hello, I would like call a vote for the Apache CouchDB 1.0.0 release, second round= . Changes in this round: =09* Fixed various leftovers from internal refactoring We encourage the whole community to download and test these release artifac= ts so that any critical issues can be resolved before the release is made. Everyo= ne is free to vote on this release, so get stuck in! We are voting on the following release artifacts: http://people.apache.org/~nslater/dist/1.0.0/ These artifacts have been built from the 1.0.0 tag in Subversion: http://svn.apache.org/repos/asf/couchdb/tags/1.0.0/ Happy voting, N