Project

General

Profile

Actions

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.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Start date:
2018-04-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
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.

Actions #1

Updated by Susanne Moog over 6 years ago

  • Target version changed from 9.3 to 9.4
Actions #2

Updated by Benni Mack over 6 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Anja Leichsenring over 6 years ago

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.

Actions #4

Updated by Benni Mack about 6 years ago

  • Target version changed from 9.4 to 9 LTS
Actions #5

Updated by Susanne Moog about 6 years ago

  • Category set to Site Handling, Site Sets & Routing
Actions #6

Updated by Susanne Moog about 6 years ago

  • Target version changed from 9 LTS to Candidate for Major Version
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from New to Rejected

won't fix. (no time)

Actions

Also available in: Atom PDF