« Return to Thread: prevent cascade validation

Re: prevent cascade validation

by WangQi :: Rate this Message:

Reply to Author | View in Thread

further debug shows that unique constraints is broken in 0.5 snapshot.

in IdentDynamicMethod.java, line 49, domainClass is null if using unique constraint in domain class.

wangqi

according to my debug (with 0.5 snapshot), the problem is the unique constraints.  (it seams doesn't work anymore)

in UniqueConstraint.java, line 106, it always throw NullPointException.

the last developer is graeme.  can u help on this?

wangqi

james_027 wrote:
Hi,

WangQi wrote:
is that possible to preven cascade validation?

e.g. i want to update category. category related to an categorylog, while categorylog related to an User.

the problem is when i want to perform category.save() the user always report validation error.

how can i prevent it? thanks

wangqi
I have something like that which my problem is the cascade object doesn't report any validation error. I am using grails 0.4.2

james

 « Return to Thread: prevent cascade validation