deletion and foreign key violations: is GRAILS-3085 really fixed?

View: New views
1 Messages — Rating Filter:   Alert me  

deletion and foreign key violations: is GRAILS-3085 really fixed?

by Sergey Bondarenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Grails Developers!

It looks like I have the same problem as described here: http://jira.codehaus.org/browse/GRAILS-3085
When some constraints violation occurs during deletion of domain object, I receive 'Object deleted' message without any information about error.
However, org.hibernate.exception.ConstraintViolationException is logged.

JIRA says that it is covered in section 5.3.2 of documentation. But there is no such information in the latest docs.


Also why handling of ConstraintViolationException is not implemented in scaffolding templates?
I use Grails 1.1.1, and I had to implement the same handling as it was suggested in GRAILS-3085.


Thanks!

Sergey