Project

General

Profile

Actions

Bug #84149

closed

Avoid associative array to be used in LocalizationUtility

Added by Oliver Hader about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
Start date:
2018-03-06
Due date:
% Done:

100%

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

Description

On using associative array in LocalizationUtility which is e.g. used by Fluid's TranslateViewHelper, the error Cannot unpack array with string keys is thrown. The reason is that sprintf($value, ...$arguments) cannot be used with $arguments being an associative array.

The behavior can be reproduced in TYPO3 v9.2-dev when installing an extension in the extension manager that has e.g. insufficient version dependencies.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #63495: Depency popup window too small windows chromeClosed2014-12-02

Actions
Related to TYPO3 Core - Task #82453: Extbase LocalizationUtility error feedback and logic can be improvedClosed2017-09-11

Actions
Actions

Also available in: Atom PDF