Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HttpKernel] fix ArgumentMetadataFactory messes up controller arguments with attributes #41485

Merged
merged 1 commit into from Jun 1, 2021

Conversation

sgehrig
Copy link
Contributor

@sgehrig sgehrig commented Jun 1, 2021

Q A
Branch? 5.3
Bug fix? yes/no
New feature? no
Deprecations? no
Tickets Fix #41478
License MIT
Doc PR n/a

fixes issue #41478 by resetting the $attributes array per controller argument

also adds test to ensure correct metadata in cases where controller arguments without attributes follow arguments with attributes

…roller argument

also adds test to ensure correct metadata in cases where controller arguments without attributes follow arguments with attributes
@carsonbot carsonbot added this to the 5.3 milestone Jun 1, 2021
@carsonbot carsonbot changed the title fixes issue #41478 by resetting the $attributes array [HttpKernel] fixes issue #41478 by resetting the $attributes array Jun 1, 2021
@nicolas-grekas nicolas-grekas changed the title [HttpKernel] fixes issue #41478 by resetting the $attributes array [HttpKernel] fix ArgumentMetadataFactory messes up controller arguments with attributes Jun 1, 2021
@derrabus
Copy link
Member

derrabus commented Jun 1, 2021

Thank you @sgehrig.

@derrabus derrabus merged commit 4500326 into symfony:5.3 Jun 1, 2021
@fabpot fabpot mentioned this pull request Jun 2, 2021
@sgehrig sgehrig deleted the issues/41478 branch June 3, 2021 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants