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

Bugfix/missing route param in request #3

Merged

Conversation

BeyerJC
Copy link
Contributor

@BeyerJC BeyerJC commented May 17, 2019

This PR fixes an error in the isActiveFilter and isActiveFunction.

Until now, the request used to compare was created with createFromGlobal. This request did not contain the request parameters in $this->request->attributes->parameters e.g. "_route" which is used for comparison in the is_active filter.

The request stack is available since symfony 2.4 so i think this shouldnt be a BC. right @bocharsky-bw ?

@bocharsky-bw
Copy link
Owner

Hey @WhiteRabbitDE ,

Sorry for the delay! Your changes make sense... and yeah, I don't think it will cause any problems with BC break.

Thank you for this fix 👍

@bocharsky-bw bocharsky-bw merged commit 74ed6df into bocharsky-bw:master May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants