Skip to content

[SecurityBundle] Fix traceable voters #29721

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

Merged
merged 1 commit into from
Jan 1, 2019
Merged

[SecurityBundle] Fix traceable voters #29721

merged 1 commit into from
Jan 1, 2019

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Dec 29, 2018

Q A
Branch? 4.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #29385
License MIT
Doc PR symfony/symfony-docs#...

lets solve the BC break when autowiring individual voters.

@ro0NL ro0NL changed the title [SecurityBundle] Fix tracable voters [SecurityBundle] Fix traceable voters Dec 29, 2018
@xabbuh
Copy link
Member

xabbuh commented Dec 29, 2018

Does it make sense to add a test which ensures that the original voter class can be retrieved from the compiled container?

@ro0NL
Copy link
Contributor Author

ro0NL commented Dec 29, 2018

updated test to check voters are NOT decorated

@chalasr chalasr added this to the 4.2 milestone Jan 1, 2019
@chalasr
Copy link
Member

chalasr commented Jan 1, 2019

Thank you @ro0NL.

@chalasr chalasr merged commit a7df429 into symfony:4.2 Jan 1, 2019
chalasr pushed a commit that referenced this pull request Jan 1, 2019
This PR was squashed before being merged into the 4.2 branch (closes #29721).

Discussion
----------

[SecurityBundle] Fix traceable voters

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? |  no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #29385
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

lets solve the BC break when autowiring individual voters.

Commits
-------

a7df429 [SecurityBundle] Fix traceable voters
@ro0NL ro0NL deleted the voter branch January 1, 2019 10:55
@fabpot fabpot mentioned this pull request Jan 6, 2019
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.

5 participants