-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StackOverflowError during saving in gorm 6.10 #1131
Comments
The referenced example application includes no code |
@graemerocher have pushed one minute ago. I was on the progress. |
Saving objects in events is not supported, as the events are triggered in the middle of a flush. This is mentioned in http:https://gorm.grails.org/latest/hibernate/manual/index.html#advancedGORMFeatures |
damn, right, I've come across this. but it is really misleading that the functionality stops working a little at each update Sorry. I think the issue can be closed |
One time in tests I got StackOverflowError during saving or entity with beforeUpdate logic.
It happens only once during test, I'm not sure I can reproduce. But I will provide project with same domain graph. As I can see, on every step it saves Contract entity with same ID
Same code works well in prod with GORM 6.0.12
Task List
Steps to Reproduce
Expected Behaviour
Everithing saved without error
Actual Behaviour
StackOverflowError during cycle saving
Environment Information
Example Application
https://github.com/demon101/grails-bug-cyclic-save
The text was updated successfully, but these errors were encountered: