Actions
Bug #98065
closedTypoScript image file link with target _blank
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
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.
Actions