#54476Unknown Exception in Caching framwork
Description
While debugging af problem with a typo 6.2-beta2 sites (also tried with master), I stumbled upon this error in my server logs
PHP Fatal error: Class ‘TYPO3\\CMS\\Core\\Cache\\Exception’ not found in /usr/local/src/typo3/typo3_src-6.2.0beta2/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 241
The problems is that if there is an error writing the cache files in SimpleFileBackend (thats the problem I am investigating), SimpleFileBackend tries to throw a new \TYPO3\CMS\Core\Cache\Exception which results in an error because the Exception is not loaded due to the CloassLoader cache being deleteded!
I’m not sure what the best way to solve this is. Either we throw a regular \Exception, we require the file manually if it is not defined, or we alter the classloader to somehow handle this edge-case? Any suggestions?
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.