-
Type: Feature Request
-
Status: Needs Review
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 5.2.2
-
Component/s: System Log
-
Labels:None
-
Change Log Group:Added
-
Change Log Message:In case, when a Fatal Error/Exception happens during page generation a nice error page will be displayed back to user.
-
Story Points:2
-
Copy Issue Key:
-
Patch Instructions:
Plan:
- rename "ErrorTemplate" system setting to "NotFoundErrorTemplate" to avoid confusion - 0.3h
- create new "FatalErrorTemplate" that will have "error_fatal" value by default - 0.2h
- create "error_fatal" template in Front-End theme with most basic tags (the more static the better) - we can start with just showing "Opps, something went wrong ..." text with "default_design.tpl" - 1h
- create "error_fatal" template in Admin Console (similar to "no_permission") - 0.5h
- when Catchable Fatal Error is discovered and we're not in Debug Mode, then: - 1h
- store error message text in session
- redirect to that template (url would be /error_fatal.html)
- admin's template version will display error text from session, while Front-End template version won't
- Dmitry suggested placing "Back" link/button on that template so user can go back where he hit the fatal error in case if it is fixed at some point - 0.5h
- is blocked by
-
INP-1401 Don't use "die" in Debugger
- Closed
- implemented in
-
[Request, 290 lines] D3 INP-1381 - Create special template for fatal error page
- mentioned in
-
Page Loading...