Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PropertyAccess] BC break due to a modified getter calling logic  #37052

Closed
@1ed

Description

@1ed

Symfony version(s) affected: 5.1.0

Description
I think there is a BC break in the PropertyAccess component due to the changes were introduces in #30704 (I think). The original logic is in https://github.com/symfony/symfony/blob/v5.0.9/src/Symfony/Component/PropertyAccess/PropertyAccessor.php#L470-L520. Maybe it's an edge case, but it breaks out app.

How to reproduce
See #37053, the tests green on 5.0, but without the patch failing on. 5.1

Possible Solution
See #37053 for a naive solution.

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