bval-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <mben...@apache.org>
Subject Re: Failure to validate
Date Thu, 01 Aug 2013 14:21:47 GMT
It may yet, but not with me.  Sorry!

Matt


On Thu, Aug 1, 2013 at 9:16 AM, Eric Evans <eevans@opennms.com> wrote:

> [ Matt Benson ]
> > We'd probably need a bit more to go on here... if you could boil this
> down
> > to a small self-contained example project that exhibits this problem we
> > might have a better likelihood of being able to assist you.
>
> I will try, but the unit test was my attempt at making it reproducible.
> The code that fails is otherwise identical except that it's running in an
> OSGI environment (which makes it is less easy to reproduce).
>
> I was hoping this would ring bells. :(
>
> > On Jul 31, 2013 8:44 PM, "Eric Evans" <eevans@opennms.com> wrote:
>
> > > I have a bean that is annotated with 4 NotNull constraints.  A unit
> test
> > > is working as expected (validator.validate(new User()) returns 4
> > > ConstraintViolations), but the same code does not work from within my
> > > OSGI application.  There are no exceptions, it simply fails to return
> > > any ConstraintViolations.
> > >
> > > Any help with this would be greatly appreciated.
> > >
> > > Thanks,
>
> --
> Eric Evans
> eevans@opennms.com
>

Mime
View raw message