Skip to content

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