Project

General

Profile

Actions

Bug #87409

open

UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty

Added by Ivano Luberti almost 6 years ago. Updated about 5 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 almost 6 years ago

  • Description updated (diff)
Actions #2

Updated by Georg Ringer almost 6 years ago

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

Updated by Christian Eßl about 5 years ago

  • Category set to Extbase
Actions #4

Updated by Christian Kuhn almost 2 years ago

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

Also available in: Atom PDF