Bug #87409

UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty

Added by Ivano Luberti 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-01-11
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues

Duplicated by TYPO3 Core - Bug #87408: UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty Closed 2019-01-11

History

#1 Updated by Georg Ringer 5 months ago

  • Description updated (diff)

#2 Updated by Georg Ringer 5 months ago

  • Duplicated by Bug #87408: UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty added

Also available in: Atom PDF