couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <robert.new...@gmail.com>
Subject Re: validate_doc_update ignored after compact
Date Wed, 10 Nov 2010 16:15:54 GMT
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 <kocolosk@apache.org> wrote:
> Hi Gabriel, thanks for the bump.  I can see the reason the DB forgets about the validation
functions.  We'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 <gsf747@gmail.com> wrote:
>>> 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
>>>
>
>

Mime
View raw message