Bug #96455

Selected options in e.g. dropdown fields aren't translated in the mail finisher

Added by Jan Helke 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Must have
Assignee:
Category:
Form Framework
Target version:
Start date:
2022-01-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:

Description

Currently we have the situation, that translated fields with options are not translated in the mail finisher.

Given a typical salutation dropdown field with Mrs, Mr and Mx and a German translation Frau, Herr and divers.

In the English mail IS (correctly) written:

Salutation: Mx

In the German mail IS incorrectly written:

Anrede: Mx

In the German mail SHOULD be written:

Anrede: divers

This regression was introduced in TYPO3 11.3 with Change-Id: I7546fedf79656561369008765b303cfb9af246d0 during a phpstan run.
https://github.com/TYPO3-CMS/form/commit/259385250920f0ff9d1f33125f45f2b50e9a893b

It's clear, that the part ```$properties['options'] =``` is a leftover from this patch an needs to be adjusted too.


Related issues

Related to TYPO3 Core - Task #93979: Update phpstan to 0.12.84Closed2021-04-23

Actions
#1

Updated by Gerrit Code Review 6 months 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/+/72855

#2

Updated by Christian Kuhn 6 months ago

  • Related to Task #93979: Update phpstan to 0.12.84 added
#3

Updated by Gerrit Code Review 6 months 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/+/72855

#4

Updated by Gerrit Code Review 6 months 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/+/72855

#5

Updated by Gerrit Code Review 6 months 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/+/72859

#6

Updated by Jan Helke 6 months ago

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

Also available in: Atom PDF