Issue Bug Closed

#53970getBaseValidatorConjunction is called for simple types

Alexander Stehlik 11/26/13, 10:57 updated 02/03/18, 22:12

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.