[BUGFIX] Validation error arguments are not applied 28/56328/4
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Sat, 17 Mar 2018 16:50:26 +0000 (17:50 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 19 Apr 2018 13:32:15 +0000 (15:32 +0200)
commit70b8ffc06c68a21a5dc191d6b7f77b42092fc208
tree854617af9ba11471d4b273a6787702bf9168a089
parent9de418d52416b5839512226e3d438aac26c7fe82
[BUGFIX] Validation error arguments are not applied

If an extbase error object wants to be translated through EXT:form and
no translation is found, the original error message will be shown.
Possibly existing error message arguments must be applied by calling
the error objects __toString() method.

Resolves: #84449
Releases: master, 8.7
Change-Id: I3d1f92a7d9c9abcc239bdab17b42a2cbb9e98d94
Reviewed-on: https://review.typo3.org/56328
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Kay Strobach <typo3@kay-strobach.de>
Tested-by: Kay Strobach <typo3@kay-strobach.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/core/Documentation/Changelog/8.7.x/Deprecation-84449-TranslateElementErrorViewHelperArguments.rst [new file with mode: 0644]
typo3/sysext/form/Classes/ViewHelpers/TranslateElementErrorViewHelper.php
typo3/sysext/form/Resources/Private/Frontend/Partials/Field/Field.html