#75281Inconsistence on Handling eID requests
Description
If I set a class as eid configuration, an exception in EidRequestHandler is thrown: ‘Registered eID has invalid script path.’
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['myeidid'] = \My\AjaxController::class; // Worked in 7.4.0, but not in 7.6.4
But later in TYPO3\CMS\Core\Http\Dispatcher::getCallableFromTarget() the case case where only a class is set would be handled:
// ...
// Only a class name is given
if (is_string($target) && strpos($target, ':') === false) {
$targetObject = GeneralUtility::makeInstance($target);
if (!method_exists($targetObject, '__invoke')) {
throw new \InvalidArgumentException('Object "' . $target . '" doesn\'t implement an __invoke() method and cannot be used as target.', 1442431631);
}
return $targetObject;
}
/// ...Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.