8000 [Routing] Fix throwing NoConfigurationException instead of 405 by nicolas-grekas · Pull Request #26792 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Routing] Fix throwing NoConfigurationException instead of 405 #26792

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
Apr 4, 2018

Conversation

nicolas-grekas
Copy link
Member
Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #26759
License MIT
Doc PR -

@nicolas-grekas nicolas-grekas merged commit 73269cf into symfony:3.4 Apr 4, 2018
nicolas-grekas added a commit that referenced this pull request Apr 4, 2018
… 405 (nicolas-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[Routing] Fix throwing NoConfigurationException instead of 405

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

Commits
-------

73269cf [Routing] Fix throwing NoConfigurationException instead of 405
This was referenced Apr 6, 2018
@sunspikes
Copy link

@nicolas-grekas There is a possible BC break introduced by this change (InterNations/http-mock#45) now for the path '/' and others if the allowed methods are not configured it throws different exceptions, can you please confirm this is the expected behaviour for the clients of the symfony router.

@nicolas-grekas nicolas-grekas deleted the dix-route-405 branch April 12, 2018 11:30
@nicolas-grekas
Copy link
Member Author

I don't know how your test behaved before the change, and how it fails now, so I can't answer for now.
Please open a dedicated issue if you want to ask the community.

@sunspikes
Copy link

@nicolas-grekas Thanks for the reply, will do that 👍

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.

3 participants
0