[BUGFIX] Validation error arguments are not applied 43/56743/2
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 18:10:42 +0000 (20:10 +0200)
commita9f1117df455c63d347b6fbcc916cbdcee07c8c7
tree8fc5b592548e5e8c4f2a8a9c3e1b8e444408e53e
parentf987f7ac01f7aa74c401c84f995d34f802ab1fc6
[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>
Reviewed-on: https://review.typo3.org/56743
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