Skip to content
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

Add a "generic error page" node #1749

Open
1 of 3 tasks
ghost opened this issue Jun 10, 2016 · 3 comments
Open
1 of 3 tasks

Add a "generic error page" node #1749

ghost opened this issue Jun 10, 2016 · 3 comments
Milestone

Comments

@ghost
Copy link

ghost commented Jun 10, 2016

Informations

Orchestra Version : 1.1

Issue Type:

  • Bug
  • Feature request
  • Question

Description

The only error case that leads to displaying of a node that can be customed by a contributor is when a HttpExceptionInterface with 404 code is thrown. So there is nothing that give ability to contributor to custom a default error page.

Actual behavior

When something else than a HttpExceptionInterface with 404 code is thrown, application displays the default TwigBundle error template.

Expected behavior

When any error (except the 404 case) is thrown, application displays a generic error page customizable by contributor.

@ngilain
Copy link
Member

ngilain commented Jun 14, 2016

@itkg-canne : Have you tried to use the standard Symfony feature of error rendering ? http://symfony.com/doc/current/cookbook/controller/error_pages.html

@ghost
Copy link
Author

ghost commented Jun 14, 2016

This request is about ability to customize a page in BO for other cases than 404. I have done it directly in the project if you want to see what I mean.

@ngilain
Copy link
Member

ngilain commented Jul 8, 2016

We add this feature on our roadmap. Thank you for your feedabck

@ngilain ngilain added this to the on roadmap milestone Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant