Bug #23959
closedLink Exception messages to Wiki pages
0%
Description
Add a text and link to the Exception handler messages pointing to a page on typo3.org.
(issue imported from #M16271)
Updated by Ingo Renner about 14 years ago
Fixed target version, always set target to final release, use "Fixed in Version" for specific preview releases...
Updated by Ernesto Baschny almost 14 years ago
Code is already in the debug exception handler, but this is still the FLOW3 link. Should we add this link to 4.5 still, considering that it will be there for 3 years?
And if yes, should we use the same redirect as FLOW3 / v5? There shouldn't be a "clash" of unix timestamps in our exceptions. :)
Updated by Steffen Gebert almost 14 years ago
Yes, as the error numbers are pretty unique, I woud use the same redirect.
If we get something other than a wiki, the redirect should just be changed, thus I see no problem in having valid links for >3 years. Do you?
Do you agree with also adding this to the ProductionExceptionHandler?
Updated by Ernesto Baschny almost 14 years ago
I would maybe separate the landing-page which is hardcoded in the core to different from the FLOW3 one, else we won't be able to separate the requests at a later point. FLOW3 might want to redirect to "its own wiki" or some other resource while in v4 we want to keep it in wiki.
About the ProductionExceptionHandler, we might add another redirect to be able to differenciate the requests also:
I imagine something like this:
http://typo3.org/go/exception/xxx => FLOW3, already in use
http://typo3.org/go/exception/v4/xxx => v4 productionHandler
http://typo3.org/go/exception/v4/debug/xxx => v4 debugHandler
I will discuss in the release meeting to see if this is ok or not.
Thanks, Steffen!
Updated by Steffen Gebert almost 14 years ago
I agree in having some differentiation. We don't know, what might change...
However having different targets for debug and production mode? I fear nobody will ever create exception descriptions, which differentiate between editor and developer.
Basically IMHO the ProductionExceptionHandler is not for production. I would not display weird (for them) error messages, but only show a "sorry.. sth. went wrong" page.
I think the only reason, why technical output is made also in production mode is that (almost?) nobody sets devIPmask.
I can imagine the following error handlers:- Production: Only show that an error occured (current design without technical error message)
- BackendUser: the Procution state: Error message with technical details
- Debug: current DebugExceptionHandler for developers with stack trace
As long as this is only a vision, I would go adding the way the link to the error handler (which btw. I plan to do the next days).
Updated by Ernesto Baschny almost 14 years ago
About the linking: differenciating it from start on allows us to later handle them differently. As soon this is released, it is "too late" to change again. :)
The target of both v4 links will be the same for the start. Maybe later we decide to put less technical info in the "production handler".
The production handler is meant to be for "anonymous users", i.e. the public. Other known mechanisms to trigger the debugHandler are enough. If the production handler is too technical, we should make that less technical.
The error / exception handling is documented here: http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.3.0/view/8/2/
Updated by Steffen Gebert over 13 years ago
Review: http://review.typo3.org/1282
Updated by Steffen Gebert over 13 years ago
- Status changed from New to Resolved
- Assignee set to Steffen Gebert
- Target version changed from 4.6.0 to 1238
- TYPO3 Version changed from 4.5 to 4.6
Already merged with commit ca2b0736f61c38be1cda726b7f84586ee65a9d73
Updated by Xavier Perseguers over 12 years ago
- Status changed from Resolved to Closed