Skip to content

Conversation

@jdaugherty
Copy link
Contributor

@jdaugherty jdaugherty commented Nov 18, 2025

In my application, we have a spot where we do myCommandObject as JSON and it wasn't marshaling. Comparing to 6.x behavior, the static properties are now being returned by spring's helper utilities and need to be filtered.

Fixes #15237

@jdaugherty
Copy link
Contributor Author

Originally, I had only made the change to the json GroovyBeanMarshaller, but after a closer look, it looks like xml + java variants are affected as well. I've gone ahead and applied the same change to those marshallers.

@jdaugherty jdaugherty added this to the grails:7.0.3 milestone Nov 18, 2025
Copy link
Contributor

@jamesfredley jamesfredley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's nice to get rid of one of the few remaining @PendingFeature()'s we added for Grails 7!

@jdaugherty jdaugherty merged commit 4472d5d into apache:7.0.x Nov 19, 2025
86 of 88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

GroovyBeanMarshaller is trying to marshall static properties

3 participants