You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was merged into the 5.1 branch.
Discussion
----------
[PropertyAccess] Fix getter call order BC
| Q | A
| ------------- | ---
| Branch? | 5.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | #37052
| License | MIT
| Doc PR | -
Property Accessor breaks BC due to a change in the order of calling the getters, see #37052
Commits
-------
8cf8068 [PropertyAccess] Fix getter call order BC
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.
The text was updated successfully, but these errors were encountered: