Issue Bug Closed

#48572The page unavailable handler does not get the exception number which would be thrown without it

Kay Strobach 05/27/13, 15:36 updated 10/02/18, 12:14

Description

To identify a problem it would be genius to allow error identification by a unique number :D
Therefore i suggest to add the issue information to the unavailable and page not found handlers:

Snipped from TypoScriptFrontendController :: getConfigArray 

                    if ($this->checkPageUnavailableHandler()) {
                        $this->pageUnavailableAndExit($message);
                    } else {
                        $explanation = 'This means that there is no TypoScript object of type PAGE with typeNum=' . $this->type . ' configured.';
                        \TYPO3\CMS\Core\Utility\GeneralUtility::sysLog($message, 'cms', \TYPO3\CMS\Core\Utility\GeneralUtility::SYSLOG_SEVERITY_ERROR);
                        throw new \TYPO3\CMS\Core\Error\Http\ServiceUnavailableException($message . ' ' . $explanation, 1294587217);
                    }

Reviews 1