-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[SecurityBundle] Dont throw if "security.http_utils" is not found #27701
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
Conversation
…t found (nicolas-grekas) This PR was merged into the 3.4 branch. Discussion ---------- [SecurityBundle] Dont throw if "security.http_utils" is not found | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27445 | License | MIT | Doc PR | - The comment + test were misleading, the actual important thing is wiring `AddSessionDomainConstraintPass` before removing passes, which is already the case already. Commits ------- db88330 [SecurityBundle] Dont throw if "security.http_utils" is not found
It looks like it reverts c003b7a, but this PR targets Symfony 3.4, while c003b7a targeted 2.7. Should it be backported to Symfony 2.7 and/or 2.8? I had the same bug when launching tests that worked 5 months ago : https://travis-ci.org/alexislefebvre/AsyncTweetsBundle/builds/398227684 is broken but the same commit tested 5 months ago didn't crash: https://travis-ci.org/alexislefebvre/AsyncTweetsBundle/builds/339996354 |
…t found (nicolas-grekas) This PR was merged into the 3.4 branch. Discussion ---------- [SecurityBundle] Dont throw if "security.http_utils" is not found | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27445 | License | MIT | Doc PR | - The comment + test were misleading, the actual important thing is wiring `AddSessionDomainConstraintPass` before removing passes, which is already the case already. Commits ------- db88330 [SecurityBundle] Dont throw if "security.http_utils" is not found
@alexislefebvre you're right! 2.7 is out of maintenance, so here is the cherry-pick on 2.8: 6e5c15d |
You were fast, thanks @nicolas-grekas :) |
* 2.8: [HttpFoundation] update phpdoc of FlashBagInterface::add() bug #27701 [SecurityBundle] Dont throw if "security.http_utils" is not found (nicolas-grekas) [Validator] Fix the namespace of RegexTest
* 3.4: [HttpFoundation] update phpdoc of FlashBagInterface::add() [ProxyManagerBridge] Fix support of private services (bis) bug #27701 [SecurityBundle] Dont throw if "security.http_utils" is not found (nicolas-grekas) [Form] relax fixtures for forward compat [Validator] Fix the namespace of RegexTest [Lock] fix locale dependent test case
* 4.0: [HttpFoundation] update phpdoc of FlashBagInterface::add() [ProxyManagerBridge] Fix support of private services (bis) bug #27701 [SecurityBundle] Dont throw if "security.http_utils" is not found (nicolas-grekas) [Form] relax fixtures for forward compat [Validator] Fix the namespace of RegexTest [Lock] fix locale dependent test case
* 4.1: [HttpFoundation] update phpdoc of FlashBagInterface::add() [ProxyManagerBridge] Fix support of private services (bis) bug symfony#27701 [SecurityBundle] Dont throw if "security.http_utils" is not found (nicolas-grekas) [Form] relax fixtures for forward compat [Validator] Fix the namespace of RegexTest [Lock] fix locale dependent test case
Is a new release of 2.8 scheduled? The last version doesn't contain this change. |
The comment + test were misleading, the actual important thing is wiring
AddSessionDomainConstraintPass
before removing passes, which is already the case already.