Task #84596
closed
Epic #83796: Site Handling
SiteHandling: Make PHP Error Handler selectable
Added by Mathias Schreiber over 6 years ago.
Updated over 5 years ago.
Category:
Site Handling, Site Sets & Routing
Sprint Focus:
On Location Sprint
Description
An extension author should be able to register PHPErrorHandlers (TYPO3_CONF_VARS)
The form in the backend should only allow to select from this list of registered PHPErrorHandlers.
- Target version changed from 9.3 to 9.4
- Sprint Focus set to On Location Sprint
some more meat to the bare bones:
In the ErrorHandler config of any site configuration record, one has the choice between the content of a page, a Fluid template to be rendered, or a full blown PHP Error Handler serving the output for the configured error code.
It is now wanted that integrators can register error handler classes into $GLOBALS['TYPO3_CONF_VARS'] and only the those registered handlers can be selected for the given error code.
One handler class can be registered for several error codes.
Tasks:
- find a place in $GLOBALS['TYPO3_CONF_VARS'] for this new entry
- define and document the API used (suggestion: refer to custom nodeTypes, reuse the mechanics)
- change the plain text input in site configuration edit form to a select only providing the matching error handlers for selection
for reference: NodeType documentation: https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/FormEngine/Rendering/Index.html?highlight=rendertype#nodefactory
we will need no priority here, error handlers should be stand alone.
- Target version changed from 9.4 to 9 LTS
- Category set to Site Handling, Site Sets & Routing
- Target version changed from 9 LTS to Candidate for Major Version
- Status changed from New to Rejected
Also available in: Atom
PDF