Actions
Bug #100774
closedFluid Select ViewHelper getIdentifierByObject failes
Start date:
2023-04-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In the Fluid Select ViewHelper line 238 the call of $this->persistenceManager->getIdentifierByObject misses a check if the $value is an object.
} elseif ($this->persistenceManager->getIdentifierByObject($value) !== null) {
It also could be an array. If so, then an error is shown.
The fix would be:
} elseif (is_object($value) && $this->persistenceManager->getIdentifierByObject($value) !== null) {
Actions