Bug #98924
closedHarden LocalizationUtility with arguments
100%
Description
The default value of arguments
of TranslateViewHelper
has been switched from null
to []
.
To avoid exceptions, when no arguments are given, an additional check is needed.
the error occurs if a string like '%m/%d/%Y'
is added to be translated but no arguments are provided
ArgumentCountError 4 arguments are required, 1 given
Updated by Gerrit Code Review almost 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76269
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76269
Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76269
Updated by Christian Kuhn almost 2 years ago
- Related to Task #96473: Allow ServerRequestInterface in ext:fluid added
Updated by Gerrit Code Review almost 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76269
Updated by Gerrit Code Review almost 2 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76269
Updated by Gerrit Code Review almost 2 years ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76269
Updated by Gerrit Code Review almost 2 years ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76269
Updated by Gerrit Code Review almost 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76407
Updated by Georg Ringer almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7112cb150ba8d2de4551c6dd5c82c60120d39948.
Updated by Gerrit Code Review almost 2 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76407
Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76407
Updated by Georg Ringer almost 2 years ago
- Status changed from Under Review to Resolved
Applied in changeset 462adaed4d03ed64b5ca521b4d5fa5bae60a9c9f.
Updated by Georg Ringer almost 2 years ago
- Related to Bug #99264: ArgumentCountError by usage of f:translate viewhelper added
Updated by Benni Mack almost 2 years ago
- Status changed from Resolved to Closed
Updated by Benni Mack 2 months ago
- Related to Bug #93346: LocalizationUtility::translate throws uncaught exception, if the arguments contains an empty array added