Project

General

Profile

Actions

Bug #87408

closed

UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty

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

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

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
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


Related issues 1 (1 open0 closed)

Is duplicate of TYPO3 Core - Bug #87409: UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correcltyNew2019-01-11

Actions
Actions #1

Updated by Ivano Luberti over 5 years ago

Sorry you close this, I have reported it on the wrong project

Ivano Luberti wrote:

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

Actions #2

Updated by Michael Stucki over 5 years ago

  • Project changed from 9 to TYPO3 Core
  • TYPO3 Version set to 9

Wrong project.

Actions #3

Updated by Georg Ringer over 5 years ago

  • Status changed from New to Closed

closed as duplicate of #87409

Actions #4

Updated by Georg Ringer over 5 years ago

  • Is duplicate of Bug #87409: UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty added
Actions

Also available in: Atom PDF