Actions
Bug #64901
closedRevert changed default argument for TranslateViewHelper
Start date:
2015-02-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint
Description
The default value of propery $arguments
changed from NULL
to array()
. This breaks the translation in certain behaviours as \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate()
calls vsprintf if the arguments is an array.
breaking e.g. EXT:news where translation is used for the different time format. The locallang looks like
<trans-unit id="dateFormat" xml:space="preserve"> <source>%m/%d/%Y</source> </trans-unit>
and this leads to "PHP Warning: vsprintf(): Too few arguments"
Updated by Gerrit Code Review over 9 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36711
Updated by Georg Ringer over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 55b2f0ab42cae512a1267bf208ff2c20e2204ccd.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed
Actions