Issue Bug Rejected

#91746LinkService can't handle filelinks with additional arguments

Nigg no-lastname-given 07/06/20, 10:53 updated 09/22/20, 19:38

Description

TCA:

'link' => [
            'label' => 'Link',
            'config' => [
                'type' => 'input',
                'softref' => 'typolink',
                'size' => 50,
                'renderType' => 'inputLink',
                'max' => 1024,
                'eval' => 'trim,required'
            ],

In my Model i will get more inforation with the Linkservice.

    public function getLinktype(): array
    {
        $linkService = GeneralUtility::makeInstance(LinkService::class);
        return $linkService->resolve($this->link);
    }

Fluid:

<f:debug>{linkItem.linktype}</f:debug>

Linkvalue to a file with additional attribut target:

t3://file?uid=39973 _blank
</code>

TYPO3 will call an exception. Without additional arguments it will work.
The problem only affects t3://file with additional arguments

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.