Actions
Bug #100776
closedTsConfig tt_content_defValues translation
Start date:
2023-04-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
tsconfig localization
Complexity:
Is Regression:
Sprint Focus:
Description
Hi,
i ran into a problem with Typo3 v12 where the translation in the tsconfig in tt_content_defValues is returned as is.
It worked perfectly in Typo3 v11.5 with the following line in typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php
$wizardItems[$key]['params'] .= '&defVals[tt_content][' . $fN . ']=' . rawurlencode($this->getLanguageService()->sL($fV));
it was removed in 12.4 but i fixed it with
$wizardItems[$key]['tt_content_defValues'][$fieldName] = rawurlencode($this->getLanguageService()->sL($value));
in line 330 in vendor/typo3/cms-backend/Classes/Controller/ContentElement/NewContentElementController.php
maybe someone could take a look at that.
Thanks.
Updated by Gerrit Code Review over 1 year ago
- Status changed from New 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/+/78887
Updated by Oliver Bartsch over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a2d6d8b475f2108d0754fb7a51ce879947c86aad.
Actions