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

Skip to content

[Routing] Continue supporting single colon in object route loaders #34621

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

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #34612
License MIT
Doc PR -

#32582 (comment) was a bad idea. The new ObjectLoader class is used directly on 4.4 since we detagged the old service (and the old one). So we need to support the old notation on it. It changes the exception message but it should be alright.

@fancyweb fancyweb force-pushed the routing-object-loader-fix-single-colon-support branch from 2b527ef to c9035f6 Compare November 26, 2019 08:25
@fancyweb fancyweb changed the title [Routing] Continue supporting single colon service route loaders [Routing] Continue supporting single colon in object route loaders Nov 26, 2019
@fancyweb fancyweb force-pushed the routing-object-loader-fix-single-colon-support branch from c9035f6 to 3c796e1 Compare November 26, 2019 08:26
@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Nov 26, 2019
@fabpot
Copy link
Member

fabpot commented Nov 26, 2019

Thank you @fancyweb.

fabpot added a commit that referenced this pull request Nov 26, 2019
… loaders (fancyweb)

This PR was merged into the 4.4 branch.

Discussion
----------

[Routing] Continue supporting single colon in object route loaders

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #34612
| License       | MIT
| Doc PR        | -

#32582 (comment) was a bad idea. The new `ObjectLoader` class is used directly on 4.4 since we detagged the old service (and the old one). So we need to support the old notation on it. It changes the exception message but it should be alright.

Commits
-------

3c796e1 [Routing] Continue supporting single colon in object route loaders
@fabpot fabpot merged commit 3c796e1 into symfony:4.4 Nov 26, 2019
@fancyweb fancyweb deleted the routing-object-loader-fix-single-colon-support branch November 26, 2019 13:02
This was referenced Dec 1, 2019
fabpot added a commit that referenced this pull request Dec 4, 2019
… merge (fancyweb)

This PR was merged into the 5.0 branch.

Discussion
----------

[Routing][ObjectLoader] Remove forgotten deprecation after merge

| Q             | A
| ------------- | ---
| Branch?       | 5.0
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

#34621 needs to be gone on 5.0. We want to throw here. I think it was forgotten when merging in 5.0.

Commits
-------

4e60b9d [Routing][ObjectLoader] Remove forgotten deprecation after merge
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.

4 participants