Bug #52823

cache_classes cache crashes

Added by Stefan Froemken over 7 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
Start date:
2013-10-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello Core-Team,

with your new implementation of cache_classes you have crashed extbase. If form has Errors (Validators) extbase calls the errorAction. When calling:

$referringRequest->getControllerActionName();

I get following error in FE:

Fatal error: Cannot redeclare class TYPO3\Sfvalidator\Controller\PersonController in /Applications/MAMP/htdocs/typo3_git/typo3conf/ext/sfvalidator/Classes/Controller/PersonController.php on line 107

If I debug within getControllerActionName the name was resolved correctly. But when I debug getControllerActionName in Request-Object then I get the error with redeclaration. There seems to be some magic I don't understand. Maybe it is because of "new" in getReferringRequest()?!

Stefan

Also available in: Atom PDF