Actions
Bug #87409
openUriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty
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
Updated by Georg Ringer almost 6 years ago
- Has duplicate Bug #87408: UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty added
Updated by Christian Kuhn almost 2 years ago
- Related to Bug #78338: ValueObject as parameter in UriBuilder results in uid & pid declaration added
Actions