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

Skip to content

Updating the error message of an AuthenticationEntryPointInterface #18656

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 28, 2016

Conversation

weaverryan
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR not necessary

During a training, we forgot to fill in the start() method for an entry point and got a horrible error message. Now, if you mess up start(), you get:

screen shot 2016-04-27 at 12 49 50 pm

Thanks!

@javiereguiluz javiereguiluz added Security DX DX = Developer eXperience (anything that improves the experience of using Symfony) labels Apr 27, 2016
@linaori
Copy link
Contributor

linaori commented Apr 28, 2016

Looks a lot better than before! Just a question though, why is the "r" in "return" being put on the first line and the "eturn" on the next?

@fabpot
Copy link
Member

fabpot commented Apr 28, 2016

Are we sure we want to merge this in master? Shouldn't it be merged in oldest branches?

@fabpot
Copy link
Member

fabpot commented Apr 28, 2016

Thank you @weaverryan.

@fabpot fabpot merged commit 7b6c56c into symfony:master Apr 28, 2016
fabpot added a commit that referenced this pull request Apr 28, 2016
…intInterface (weaverryan)

This PR was merged into the 3.1-dev branch.

Discussion
----------

Updating the error message of an AuthenticationEntryPointInterface

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

During a training, we forgot to fill in the `start()` method for an entry point and got a *horrible* error message. Now, if you mess up `start()`, you get:

![screen shot 2016-04-27 at 12 49 50 pm](https://cloud.githubusercontent.com/assets/121003/14860378/92578e68-0c76-11e6-9fe5-45141fe2ce43.png)

Thanks!

Commits
-------

7b6c56c Updating the error message of an AuthenticationEntryPointInterface returns a non-Response object
@fabpot fabpot mentioned this pull request May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX DX = Developer eXperience (anything that improves the experience of using Symfony) Security Status: Needs Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants