Dónal Murtagh
Dónal Murtagh
> Which version of Grails? 2.5.0
I've investigated this a bit further, and although the constraint is applied at the database level (via a unique index), it's not enforced by GORM validation, e.g. ``` groovy def...
> your example above is invalid, since neither of the two items in the deltas list have been saved @graemerocher My example was intended to illustrate the fact that GORM...
I've made a sample app available [here](https://github.com/domurtag/multi-col-constraint-bug). Click the link on the homepage to demonstrate the bug
@wimdeblauwe thanks for your response, unfortunately that didn't work. I defined the class as below (the example in the docs is missing the `responseCustomizers` argument) and set a breakpoint in...
My current workaround is to redefine my custom filter like so. Obviously this isn't ideal, because I'm duplicating functionality that already exists within `ErrorHandlingControllerAdvice`. ```java @Component public class FilterChainExceptionHandler extends...
> Do you have a small project with a test that triggers the exception so I could take a closer look if we could do something automatically in the library?...
### Solution Proposal Add a filter to the starter that does much the same as `FilterChainExceptionHandler` (see above). In other words, it runs as early as possible in the filter...
@wimdeblauwe Looks good to me
@wimdeblauwe I upgraded to the new version, and it works like a charm. Thanks very much!