#87409UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty
Description
TYPO3 version 9.5.3
In UriBuilder->convertDomainObjectsToIdentityArray
there is the following code
if ($argumentValue instanceof \TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject) {
if ($argumentValue->getUid() !== null) {
$arguments[$argumentKey] = $argumentValue->getUid();
as result using actionlink arguments produce a link with the id object instead of the object itself.
Undesired side effect is that is not possible in Extbase to use actions with domain object as parameter pointed by actionLinks as
is done with forms
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 6
-
Georg Ringer changed description 01/11/19, 21:02
-
Georg Ringer changed Duplicated by #87408 01/11/19, 21:02
-
Christian Eßl changed category 10/01/19, 19:41
-
Christian Kuhn changed Related to #78338 01/30/23, 13:03
-
Georg Ringer commented 04/18/25, 06:15
-
Georg Ringer changed status
NewClosed 04/18/25, 06:15
I stumbled across this issue and closing it as ValueObject all properties need to be handed over. TBH I would prefer doing it as json encoded or maybe even persist it internally and move that around.
same as #78338