[BUGFIX] EXT:form - let the CountValidator provide its arguments 41/52641/3
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Mon, 3 Apr 2017 11:40:56 +0000 (13:40 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 28 Apr 2017 08:00:52 +0000 (10:00 +0200)
commit047b5bbb38ab4e033c9cc60f7c64beff99eec293
treef70df1d26c32e631f7227b75aa28da4c5ba085f2
parent364475873ad38f5c6c924200518ea347ec734563
[BUGFIX] EXT:form - let the CountValidator provide its arguments

* Provide the validator's arguments to TYPO3\CMS\Extbase\Validation\Error
* Prevent PHP errors if sprintf is tried to be called in case of empty
  argument arrays

Resolves: #80653
Releases: master, 8.7
Change-Id: I0f399501bc1091aa0034bd4de8652564535ce3f0
Reviewed-on: https://review.typo3.org/52641
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/form/Classes/Mvc/Validation/CountValidator.php
typo3/sysext/form/Classes/Service/TranslationService.php
typo3/sysext/form/Resources/Private/Language/locallang.xlf