« Return to Thread: Adding Unqiueness Constraint To List

Re: Adding Unqiueness Constraint To List

by Peter Ledbrook-2 :: Rate this Message:

Reply to Author | View in Thread

2008/5/15 Jean-Noël Rivasseau <elvanor@...>:
> Ok, so your results are the same as mine - I did not have the
> impression that validation was cascading either.
>
> I don't think it's a bug, as validation cascading can probably become
> costly. It would be nice to have the choice in a configuration option
> - you can maybe raise a JIRA about that.

I think there's a logic bug in Grails: even if you have a "belongsTo"
field set, the validation does not cascade. In my opinion it should
(as long as deep validation is switched on). I haven't raised an issue
yet, though.

Cheers,

Peter

--
Software Engineer
G2One, Inc.
http://www.g2one.com/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Adding Unqiueness Constraint To List

LightInTheBox - Buy quality products at wholesale price