jamesfredley commented on issue #14445: URL: https://github.com/apache/grails-core/issues/14445#issuecomment-5978488022
`save(validate: false, flush: true)` validated again during the flush and could throw. The save path now sets `skipValidation(true)` before that flush and clears it afterward. `ClosureEventListener` skips validation while the flag is set. Commit `16ccfd44e4` is on `8.0.x`, `8.1.x`, and `9.0.x`, and it is in 7.0.17, 7.1.7, 7.2.4, and 8.0.0-RC2. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
