Project

General

Profile

Actions

Bug #89435

closed

TypoScript objects not processed in translation argruments

Added by Lidia Demin about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2019-10-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I followed the documentation to pass a typolink as argument to a frontend label without success. Instead of the URL the string "Array" is inserted into the label place holder.

The problem seems to be that the TypoScript configuration array for the translation arguments isn't handled in any way before merging it with the label in TYPO3\CMS\Form\Service\TranslationService::translate:

if (is_array($arguments) && !empty($arguments) && $value !== null) {
   $value = vsprintf($value, $arguments);
} else {
...


Files

forge89435.zip (1.36 KB) forge89435.zip Mathias Brodala, 2019-11-21 11:02
2019-11-21_11-04.png (9.41 KB) 2019-11-21_11-04.png Mathias Brodala, 2019-11-21 11:04
Actions

Also available in: Atom PDF