[BUGFIX] Allow setting translateToMessage to empty 63/54463/2
authorSusanne Moog <susanne.moog@typo3.com>
Tue, 17 Oct 2017 23:06:30 +0000 (01:06 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Mon, 23 Oct 2017 07:37:19 +0000 (09:37 +0200)
commit0a7046cb7d4f9074aac8dd55a247dbab2a1527aa
tree3473acce0f1fba6438640314356dffc2d2b62535
parent0fdfb0d0d670357ad45b9391c68290292759be1e
[BUGFIX] Allow setting translateToMessage to empty

Unsetting TCEMAIN.translateToMessage was not possible
due to a default fallback to a hardcoded string in
data handler.

This patch sets the default via PageTSConfig and
simplifies the condition / fallback logic.

Change-Id: Ie06410126a83de0e158c43cbfd6ee3d45176c363
Resolves: #82523
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/54463
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/ext_localconf.php