Project

General

Profile

Actions

Bug #87409

open

UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty

Added by Ivano Luberti about 5 years ago. Updated over 4 years ago.

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

0%

Estimated time:
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 2 (1 open1 closed)

Related to TYPO3 Core - Bug #78338: ValueObject as parameter in UriBuilder results in uid & pid declarationNew2016-10-18

Actions
Has duplicate TYPO3 Core - Bug #87408: UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correcltyClosed2019-01-11

Actions
Actions #1

Updated by Georg Ringer about 5 years ago

  • Description updated (diff)
Actions #2

Updated by Georg Ringer about 5 years ago

  • Has duplicate Bug #87408: UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty added
Actions #3

Updated by Christian Eßl over 4 years ago

  • Category set to Extbase
Actions #4

Updated by Christian Kuhn about 1 year ago

  • Related to Bug #78338: ValueObject as parameter in UriBuilder results in uid & pid declaration added
Actions

Also available in: Atom PDF