Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 10900 invoked from network); 14 Oct 2010 02:34:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Oct 2010 02:34:15 -0000 Received: (qmail 73614 invoked by uid 500); 14 Oct 2010 02:34:15 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 73524 invoked by uid 500); 14 Oct 2010 02:34:15 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 73517 invoked by uid 99); 14 Oct 2010 02:34:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 02:34:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,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 c1vamsi1c@gmail.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-iw0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 02:34:08 +0000 Received: by iwn8 with SMTP id 8so8760883iwn.13 for ; Wed, 13 Oct 2010 19:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=mVKC7PU9hhrOESDl+tVSwoflI7H1pCWh/WKCzxHgk0I=; b=sG+j906PS+H4TEsmMmNRIRZ8mW0D8CR3aWvYfCJLnq6q9lnPEDlVEdjmA2OD38mtJP HawlBi/1aDLJNnWuCPxKLwTNk04cKpW5CbTm2Uw/tZ9gfSg6aUjhDVZCWl/YWPg+1Og6 8SMF78HcH3wys1N76Kthdn/AYKfCMijfiFs5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gDiAjRfFkMN7b/4xcO2lMHO9ZaMsFKUWTR9HxX59UQecDkx6T/w8rCSuv/mCxfmVbq AfcNuVzEFNNADzomh8FNX2Oxo6PunxPWCggcZZ1xrj5wrL3YAP7gteov6ihS6eOyXpGA mTgV7nS/o6sC2Fe5IMT3Fi9DUm0ehH1mT53XI= MIME-Version: 1.0 Received: by 10.231.174.84 with SMTP id s20mr7812305ibz.94.1287023627951; Wed, 13 Oct 2010 19:33:47 -0700 (PDT) Received: by 10.231.15.141 with HTTP; Wed, 13 Oct 2010 19:33:47 -0700 (PDT) In-Reply-To: <4CB5F7D7.2080007@gmail.com> References: <4CB5F7D7.2080007@gmail.com> Date: Thu, 14 Oct 2010 08:03:47 +0530 Message-ID: Subject: Re: Bean Validation problems in trunk. From: Vamsavardhana Reddy To: dev@geronimo.apache.org, rickmcg@gmail.com Content-Type: multipart/alternative; boundary=0016364ece56295eef04928a8a63 --0016364ece56295eef04928a8a63 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Oct 13, 2010 at 11:47 PM, Rick McGuire wrote: > The recent changes to the bean validation support appear to be causing > failures in both the TCK and the bean validation testsuite. I've tried to > do a little problem determination, but I think Vamsi is probably going to > need to take a look at this. In the testsuite failures, it looks to me that > the validation factory configuration is not getting set up correctly so that > not all of the constraints are getting applied in the tests. Many of the > failures are just using the default constraint classes. > I see that only those constraint classes that are within the same test project are being used in the validation, but the default ones are not. I will take a look at what is happening. > In the TCK, I'm seeing a lot of the same failures where the test was > expecting constraint failures and not getting any, so this is probably the > same thing. > > There's at least one other problem with the TCK. A number of tests are > getting deploy failures because of errors with the validation.xml. Since > these tests actually ARE tests for the invalid XML. this suggests that any > parsing errors discovered at deploy time should not be terminal. > hmm... I will change the deployment exceptions to log warning messages instead. > > Rick > -- Vamsi --0016364ece56295eef04928a8a63 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Oct 13, 2010 at 11:47 PM, Rick M= cGuire <rickmcg@g= mail.com> wrote:
=A0The recent changes to the bean validation support appear to be causing f= ailures in both the TCK and the bean validation testsuite. =A0I've trie= d to do a little problem determination, but I think Vamsi is probably going= to need to take a look at this. =A0In the testsuite failures, it looks to = me that the validation factory configuration is not getting set up correctl= y so that not all of the constraints are getting applied in the tests. =A0M= any of the failures are just using the default constraint classes.
I see that only those constraint classes that are within = the=A0 same test project are being used in the validation, but the default = ones are not.=A0 I will take a look at what is happening.


In the TCK, I'm seeing a lot of the same failures where the test was ex= pecting constraint failures and not getting any, so this is probably the sa= me thing.

There's at least one other problem with the TCK. =A0A number of tests a= re getting deploy failures because of errors with the validation.xml. =A0Si= nce these tests actually ARE tests for the invalid XML. this suggests that = any parsing errors discovered at deploy time should not be terminal.
hmm...=A0 I will change the deployment exceptions to log = warning messages instead.

=A0

Rick



--
Vamsi
--0016364ece56295eef04928a8a63--