Project

General

Profile

Actions

Bug #98065

closed

TypoScript image file link with target _blank

Added by Benjamin Robinson almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Start date:
2022-08-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

I have a simple image gallery where some images are linked to PDFs, which should open in a new window:

tt_content.imagegallery = FILES
tt_content.imagegallery{
references.fieldName = image
renderObj = COA
renderObj {
stdWrap.typolink.parameter.data = file:current:link
10 = IMAGE
10.file.import.data = file:current:publicUrl
}
}

The links stored in the backend look like this `t3://file?uid=1822 _blank`

I get the following error:

The UID of file has to be numeric. UID given: "1822 _blank"

If I set a static link-parameter via TypoScript …

stdWrap.typolink.parameter = t3://file?uid=1822 _blank

… there is curiously no error.

The issue occurred with Typo3 version 11.5.11. and the cause is likely to be [bugfix e16fd7cba6]1.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #80896: TypolinkViewhelper with linkhandler ignores class attributeClosed2017-04-19

Actions
Related to TYPO3 Core - Bug #97869: typolink with returnLast returns also more information than just the URLClosedBenni Mack2022-07-07

Actions
Actions

Also available in: Atom PDF