Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Properly handle optional tag attributes for !tagged_iterator #32604

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
Jul 18, 2019
Merged

Properly handle optional tag attributes for !tagged_iterator #32604

merged 1 commit into from
Jul 18, 2019

Conversation

apfelbox
Copy link
Contributor

@apfelbox apfelbox commented Jul 18, 2019

Q A
Branch? 4.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #32603
License MIT
Doc PR

Properly handles all optional array keys when using !tagged_iterator in YAML service definitions.
This fixes a regression and adds a test case preventing it from coming up again

@nicolas-grekas
Copy link
Member

(tests fail)

@apfelbox
Copy link
Contributor Author

apfelbox commented Jul 18, 2019

@nicolas-grekas I wrote the test apparently for Symfony 4.4+, not 4.2.
I changed the test for 4.2, so the CI is now green (or rather: test failures unrelated).

Should I send a separate PR for 4.4+, where I just rename !tagged to !tagged_iterator in the test fixture?

@fabpot
Copy link
Member

fabpot commented Jul 18, 2019

Should it be merged in 4.2 or 4.3?

@nicolas-grekas nicolas-grekas modified the milestones: 4.3, 4.2 Jul 18, 2019
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(4.3)

@nicolas-grekas
Copy link
Member

Thank you @apfelbox.

@nicolas-grekas nicolas-grekas merged commit d1c6580 into symfony:4.3 Jul 18, 2019
nicolas-grekas added a commit that referenced this pull request Jul 18, 2019
…or (apfelbox)

This PR was merged into the 4.3 branch.

Discussion
----------

Properly handle optional tag attributes for !tagged_iterator

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? |no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #32603
| License       | MIT
| Doc PR        | —

Properly handles all optional array keys when using `!tagged_iterator` in YAML service definitions.
This fixes a regression and adds a test case preventing it from coming up again

Commits
-------

d1c6580 Properly handle optional tag attributes for !tagged_iterator
@apfelbox apfelbox deleted the tagged-invalid-index branch July 19, 2019 10:08
@apfelbox
Copy link
Contributor Author

@nicolas-grekas should I prepare a follow up PR for 4.4, or will you fix the test when merging up?

@nicolas-grekas
Copy link
Member

It's already merged up :)

@fabpot fabpot mentioned this pull request Jul 28, 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