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.
class OrderController {
def process() {
def order = new Order()
order.with {
firstName = request.currentUser.firstName
lastName = equest.currentUser.lastName
billingPhone = params.billing_phone
billingAddress1 = params.billing_address1
billingAddress2 = params.billing_address2
}
}
}
Actual Behaviour
No response
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
7.0.0-SNAPSHOT