-
-
Notifications
You must be signed in to change notification settings - Fork 953
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
7.0.0-SNAPSHOT request/params binding stopped working on 2025-02-17T00:49:38Z #14027
Comments
How did you narrow down that specific point in time? |
I know that when this PR (#13984) was merged, it broke several builds. We fixed the builds last week so it's possible you finally got the build in your environment? We discussed this in weekly meeting and we don't want to merge these changes without a larger discussion going forward (due to the impact and mismatch with spring's bom). |
@jeffscottbrown that is my last known working release |
Do you know when the first broken release was built? |
We only discovered it through manual testing so in the last couple of hours. so it could have been anytime in the last 43 hours. |
Replication Steps
|
I might be missing something, but I can't seem to replicate the problem: http://localhost:8080/sample/failedBinding.json {"dateCreated":null,"name":null}
{"dateCreated":null,"name":"Mattias"} Grails application running at http://localhost:8080 in environment: development
2025-02-19T09:03:31.394+01:00 INFO 415945 --- [nio-8080-exec-1] com.example.SampleController : sample.name 'null' should not be null.
2025-02-19T09:03:48.760+01:00 INFO 415945 --- [nio-8080-exec-2] com.example.SampleController : sample.name 'Mattias' should not be null. |
I am seeing the same thing. The |
@codeconsole Do the tests at https://github.com/jeffscottbrown/bindingissueusingwith/blob/3188e160ef3af5689792bdbe6c7cfb950899aaab/src/test/groovy/com/example/DemoControllerSpec.groovy#L14-L34 pass for you when run locally? |
Expected Behavior
This has always worked, but stopped working after 2025-02-17T00:49:38Z
request and params are no longer bound when using Groovy .with {} on.a domain object inside a controller.
Actual Behaviour
No response
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
7.0.0-SNAPSHOT
The text was updated successfully, but these errors were encountered: