Project

General

Profile

Actions

Bug #100776

closed

TsConfig tt_content_defValues translation

Added by Benni Achenbach about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
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.

Actions #1

Updated by Gerrit Code Review about 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

Actions #2

Updated by Oliver Bartsch about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF