Issue Bug Closed

#87409UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty

Ivano Luberti 01/11/19, 15:24 updated 04/18/25, 06:15

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.

History 6

  1. Georg Ringer changed description 01/11/19, 21:02

  2. Georg Ringer changed Duplicated by #87408 01/11/19, 21:02

  3. Christian Eßl changed category 10/01/19, 19:41

  4. Christian Kuhn changed Related to #78338 01/30/23, 13:03

  5. Georg Ringer commented 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

  6. Georg Ringer changed status New Closed 04/18/25, 06:15