Repository navigation
Fix @ManagedEntity compilation for Grails domains - #16121
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 8.0.x #16121 +/- ##
==================================================
- Coverage 52.3431% 52.3394% -0.0037%
Complexity 18296 18296
==================================================
Files 2036 2036
Lines 96347 96373 +26
Branches 16829 16836 +7
==================================================
+ Hits 50431 50441 +10
- Misses 38492 38506 +14
- Partials 7424 7426 +2 🚀 New features to boost your workflow:
|
jdaugherty
approved these changes
Aug 10, 2026
jdaugherty
left a comment
Contributor
There was a problem hiding this comment.
Assuming the tests pass, we should merge this.
✅ All tests passed ✅🏷️ Commit: 91ee8a8 Learn more about TestLens at testlens.app. |
codeconsole
self-requested a review
August 11, 2026 04:53
codeconsole
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes compilation failures when
@ManagedEntityis used on a Grails domain class.HibernateEntityTransformationandGormEntityTransformationwere sharing the sameClassNodemetadata key for their “transformation applied” markers.The Hibernate transformation overwrote GORM’s marker after invoking it, allowing GORM transformation to run again. Under Grails 8/Groovy 5, the second pass could fail in
DirtyCheckingTransformerwhile collecting getter/setter pairs.Hibernate transformations now use a dedicated metadata marker, preserving GORM’s marker and making the transformations idempotent.
Changes
Closes #16107