Skip to content

7.0.0-SNAPSHOT request/params binding stopped working on 2025-02-17T00:49:38Z #14027

@codeconsole

Description

@codeconsole

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions