Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Broken backward compatibility in AbstractController between versions 6.3 and 6.4 #62046

Copy link
Copy link
@maximw

Description

@maximw
Issue body actions

Symfony version(s) affected

6.4+

Description

After upgrading from Symfony 6.2 to 6.4 my controllers started to response 500 error.

This commit breaks backward compatibility in case if child controller overrides method protected function renderView().

I think there shouldn't be such changes between minor versions.

How to reproduce

Make your child controller with overrided method renderView().

Please, take a look at this simplified example:
https://onlinephp.io/c/9655d

If MyAbstractController extends AbsractController6_3 - you will see "My render".
If MyAbstractController extends AbsractController6_4 - you will see "Symfony 6.4 render".

Possible Solution

Rollback logic.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.