Project

General

Profile

Actions

Bug #53970

closed

getBaseValidatorConjunction is called for simple types

Added by Alexander Stehlik over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2013-11-26
Due date:
% Done:

0%

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

Description

I could observe this issue in the TYPO3\CMS\SysNote\Controller\NoteController->listAction:

The $pids argument is of type string. Still getBaseValidatorConjunction() is called which will return nothing because it does a class_exists() check at the beginning.

Since class_exists() seems to be expensive (autoload process is triggered) it could make sense to do a check with TypeHandlingUtility::isSimpleType() before doing the class_exists() check.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #53962: Class loader does not cache non existing classesClosed2013-11-25

Actions
Related to TYPO3 Core - Bug #54057: Recursive validation validates too deepClosed2013-11-28

Actions
Actions

Also available in: Atom PDF