jdaugherty commented on issue #15276:
URL: https://github.com/apache/grails-core/issues/15276#issuecomment-3660440164

   https://github.com/apache/grails-data-mapping/issues/1155 & 
https://github.com/grails/grails-data-hibernate5/pull/913 are  what caused this 
change in behavior.  It was a bug fix to ensure objects were validated 
correctly.  
   
   If you change the save() to: 
   
               example.save(validate: false, flush: true)
               example.discard()
   
   the test passes in Grails 7.  Are you saving invalid data that often in your 
application?   


-- 
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]

Reply via email to