Skip to content

[FrameworkBundle] Remove support for the bundle:controller:action notation #31702

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

Simperfit
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR none no mention in the docs

This remove the ResolveControllerNameSubscriber since it is deprecated, it ease the cleaning of HttpKernel see #31672 (comment)

@nicolas-grekas
Copy link
Member

Can you please have a look at tests?

@Simperfit Simperfit force-pushed the feature/remove-the-deprecated-ResolveControllerName-subscriber branch from c8e08bd to 295766c Compare May 29, 2019 18:30
@Simperfit
Copy link
Contributor Author

@nicolas-grekas done

@Tobion
Copy link
Contributor

Tobion commented May 30, 2019

There are test failures that should be fixed with #31713

@Simperfit Simperfit force-pushed the feature/remove-the-deprecated-ResolveControllerName-subscriber branch 2 times, most recently from a12b288 to a6a0df2 Compare May 30, 2019 21:39
@chalasr chalasr changed the title [FrameworkBundle] remove the deprecated ResolveControllerNameSubscriber [FrameworkBundle] Remove support for the bundle:controller:action and service:method notations May 30, 2019
@chalasr chalasr changed the title [FrameworkBundle] Remove support for the bundle:controller:action and service:method notations [FrameworkBundle] Remove support for the bundle:controller:action notation May 30, 2019
@Simperfit Simperfit force-pushed the feature/remove-the-deprecated-ResolveControllerName-subscriber branch 2 times, most recently from c465675 to c4ed065 Compare May 31, 2019 08:32
@Simperfit
Copy link
Contributor Author

update cc @Tobion @chalasr

@Tobion
Copy link
Contributor

Tobion commented Jun 3, 2019

LGTM, but we should probably wait on #31739 and then rebase.

@fabpot
Copy link
Member

fabpot commented Jun 4, 2019

#31739 has been merged now.

@Simperfit Simperfit force-pushed the feature/remove-the-deprecated-ResolveControllerName-subscriber branch 3 times, most recently from e13e4d5 to 4ba93f2 Compare June 4, 2019 07:29
@Simperfit
Copy link
Contributor Author

@fabpot PR rebased with master

@Simperfit Simperfit force-pushed the feature/remove-the-deprecated-ResolveControllerName-subscriber branch from 4ba93f2 to 4574197 Compare June 4, 2019 10:21
@Simperfit
Copy link
Contributor Author

Tests and comments fixed.

@fabpot
Copy link
Member

fabpot commented Jun 4, 2019

Tests are broken. Can you have a look @Simperfit?

@Simperfit Simperfit force-pushed the feature/remove-the-deprecated-ResolveControllerName-subscriber branch from 4574197 to 29e3c2f Compare June 4, 2019 10:31
@Simperfit
Copy link
Contributor Author

Tests are fixed now @fabpot.

@fabpot
Copy link
Member

fabpot commented Jun 4, 2019

Thank you @Simperfit.

@fabpot fabpot merged commit 29e3c2f into symfony:master Jun 4, 2019
fabpot added a commit that referenced this pull request Jun 4, 2019
…er:action notation (Simperfit)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[FrameworkBundle] Remove support for the bundle:controller:action notation

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| 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 | none <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        |none no mention in the docs <!-- required for new features -->

<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

This remove the ResolveControllerNameSubscriber  since it is deprecated, it ease the cleaning of HttpKernel see #31672 (comment)

Commits
-------

29e3c2f [FrameworkBundle] remove deprecater controller a:b:c notation
@Simperfit Simperfit deleted the feature/remove-the-deprecated-ResolveControllerName-subscriber branch June 4, 2019 11:57
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Jun 6, 2019
…der` service (yceruto)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[FrameworkBundle] Fixed replace argument of `routing.loader` service

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Fix symfony/symfony#31702
> (1/1) OutOfBoundsException
The index "2" is not in the range [0, 1].

https://github.com/symfony/symfony/blob/bd8d8a2cfd50dffb4aa07908865931fb82a9e7bf/src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php#L33

Commits
-------

5e2e79dbb9 Fixed replace argument of `routing.loader` service
nicolas-grekas added a commit that referenced this pull request Jun 6, 2019
…der` service (yceruto)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[FrameworkBundle] Fixed replace argument of `routing.loader` service

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Fix #31702
> (1/1) OutOfBoundsException
The index "2" is not in the range [0, 1].

https://github.com/symfony/symfony/blob/bd8d8a2cfd50dffb4aa07908865931fb82a9e7bf/src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php#L33

Commits
-------

5e2e79d Fixed replace argument of `routing.loader` service
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.

6 participants