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

[WIP] Added priority to form type extension for compatibility with Symfony 3.2 #1630

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

Closed

Conversation

daFish
Copy link

@daFish daFish commented Dec 6, 2016

Fixes #1602 by introducing a priority for the form extension type.

Can someone with a Symfony version < 3.2 test this change to see if it working without any problems?

@daFish
Copy link
Author

daFish commented Dec 8, 2016

Any oppinions/hints/suggestions from @GuilhemN or @xabbuh?

@GuilhemN
Copy link
Member

Sorry for the delay, it looks good to me. Could you add a failing test to avoid future regressions?

@GuilhemN
Copy link
Member

@daFish actually, it looks like this is a bug in symfony due to an unpredictable behavior of \SplPriorityQueue (see symfony/symfony#20995).
It should be enough to fix this issue. I think we should keep the code as is as it's very unlikely that someone will enable csrf in an extension while disabling it with fosrest.

@xabbuh
Copy link
Member

xabbuh commented Jan 3, 2017

symfony/symfony#20995 has been merged.

@GuilhemN
Copy link
Member

GuilhemN commented Jan 3, 2017

Thanks @daFish !

@GuilhemN GuilhemN closed this Jan 3, 2017
@daFish
Copy link
Author

daFish commented Jan 3, 2017

Great to see the root source of the issue has been fixed.

@daFish daFish deleted the fix/form-extension-priority branch January 3, 2017 17:38
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.

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