Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 24342 invoked from network); 10 Nov 2010 19:23:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Nov 2010 19:23:05 -0000 Received: (qmail 20509 invoked by uid 500); 10 Nov 2010 19:23:35 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 20479 invoked by uid 500); 10 Nov 2010 19:23:35 -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 20471 invoked by uid 99); 10 Nov 2010 19:23:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 19:23:35 +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 (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 19:23:30 +0000 Received: by iwn37 with SMTP id 37so1177516iwn.11 for ; Wed, 10 Nov 2010 11:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=0BtaghDLEl/5qhngRtBJEKzD6bAscA8pmGBYOoNMwXM=; b=jAYLwEO/ohyABOKo0p3UTCsLwjUOlwYSMqsMkuMo8KXpINRYgqjxc2wBN1elQYhrtw 5vMjlz2l+Uyj5IBOVO0MoUvDO4g4pAYGNbF5et9MmhppzbiEQYb+JZIaHLyUjqA3HI2e TxOzVnvguAFF4kTzkvolvn/9ynwOFt9yMKkPk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=NBCvH1FNiE+kPGf/J7YtNq78xTeK9r7sLO5Rs0tON0KA2fDK+UzdHo4ANOIYaty1Cl OkQxFOBi7KZKs/ntnolQkdvaHAHfuviGgscGm7QfzB7zHHhRXMTD9N1gj/ulDOSuPIEc mN9pmboHVTU+mq9Kq2SdrU6oSreOw/QhGGZUM= Received: by 10.231.17.203 with SMTP id t11mr6994138iba.1.1289416989653; Wed, 10 Nov 2010 11:23:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.15.3 with HTTP; Wed, 10 Nov 2010 11:22:29 -0800 (PST) In-Reply-To: References: From: Paul Davis Date: Wed, 10 Nov 2010 14:22:29 -0500 Message-ID: Subject: Re: validate_doc_update ignored after compact To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Nov 10, 2010 at 2:04 PM, Robert Newson wr= ote: > Fixed all over, thanks for the report! > > B. > EPIC FIXAGE! +1 internet > On Wed, Nov 10, 2010 at 6:14 PM, Robert Newson = wrote: >> Tracking this as https://issues.apache.org/jira/browse/COUCHDB-945 >> >> B. >> >> On Wed, Nov 10, 2010 at 4:15 PM, Robert Newson = wrote: >>> I see it also. This'll go into 1.1 and, I assume, the next bug fix >>> releases for previous releases. >>> >>> I'm adding a unit test to prevent regression. >>> >>> Thanks! >>> B. >>> >>> On Wed, Nov 10, 2010 at 3:47 PM, Adam Kocoloski w= rote: >>>> Hi Gabriel, thanks for the bump. =A0I can see the reason the DB forget= s about the validation functions. =A0We'll get it fixed. >>>> >>>> Adam >>>> >>>> On Nov 10, 2010, at 10:28 AM, Gabriel Farrell wrote: >>>> >>>>> Apologies for bumping. I'm on 1.1.0a4084b2b-git, all tests pass, and >>>>> still, after I compact, validate_doc_update is ignored. If I restart >>>>> couch, validate_doc_update is again checked on update. >>>>> >>>>> On Sun, Nov 7, 2010 at 10:42 AM, Gabriel Farrell w= rote: >>>>>> After compacting the database its validate_doc_update seems to be >>>>>> ignored. I've set up a simple test case at >>>>>> http://g.couchone.com/ignore_validate. Replicate that db and try to >>>>>> add a document without a "name" field. Then compact and try again. >>>>>> >>>>>> Is this a known issue for 1.0.1? I couldn't find any related tickets= in JIRA. >>>>>> >>>>>> >>>>>> Gabriel >>>>>> >>>> >>>> >>> >> >