Bug #87408
closedUriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty
0%
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
Updated by Ivano Luberti almost 6 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
Updated by Michael Stucki almost 6 years ago
- Project changed from 9 to TYPO3 Core
- TYPO3 Version set to 9
Wrong project.
Updated by Georg Ringer almost 6 years ago
- Status changed from New to Closed
closed as duplicate of #87409
Updated by Georg Ringer almost 6 years ago
- Is duplicate of Bug #87409: UriBuilder->convertDomainObjectsToIdentityArrays doesn'thandle AbstractDomainObject correclty added