Skip to content

2.3.1: {{render_esi}} does not pass object to controller in production #10524

@khusseini

Description

@khusseini

Just like in #6822
the render_esi does not pass objects to a controller. For example this code

{% for box in pageparts %}
    {{ render_esi(controller(box.controller, { pagePart: box })) }}
{% endfor %}

Will work fine in dev environment but cause a PHP Exception in production environment

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