Project

General

Profile

Actions

Bug #96455

closed

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

Added by Jan Helke over 2 years ago. Updated over 1 year ago.

Status:
Closed
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 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF