[BUGFIX] Form localization depending on old class names 15/20415/5
authorPatrick Broens <patrick@patrickbroens.nl>
Thu, 2 May 2013 12:50:34 +0000 (14:50 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 13 Dec 2014 21:10:33 +0000 (22:10 +0100)
commitb39266f5737b9316267a0dcbe7f499fdccff5d60
tree89ef0fc05748fe06c47d0d5065d04d107f163008
parent144601322a4074ff61267c962bcd25a6e8da1a95
[BUGFIX] Form localization depending on old class names

Since the introduction of the PHP namespaces some of the localisation of
FORM is not working anymore. The localisation label is depending on the
class name by using get_class(). The localisation is depending on the
old class names which has not been adapted afterwards.

This patch solves this issue by removing the get_class() calls by
using a constant.

Change-Id: I7ba846620732b61e05e210f227c02b63c1198284
Resolves: #47817
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/20415
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
23 files changed:
typo3/sysext/form/Classes/Validation/AbstractValidator.php
typo3/sysext/form/Classes/Validation/AlphabeticValidator.php
typo3/sysext/form/Classes/Validation/AlphanumericValidator.php
typo3/sysext/form/Classes/Validation/BetweenValidator.php
typo3/sysext/form/Classes/Validation/DateValidator.php
typo3/sysext/form/Classes/Validation/DigitValidator.php
typo3/sysext/form/Classes/Validation/EmailValidator.php
typo3/sysext/form/Classes/Validation/EqualsValidator.php
typo3/sysext/form/Classes/Validation/FileAllowedTypesValidator.php
typo3/sysext/form/Classes/Validation/FileMaximumSizeValidator.php
typo3/sysext/form/Classes/Validation/FileMinimumSizeValidator.php
typo3/sysext/form/Classes/Validation/FloatValidator.php
typo3/sysext/form/Classes/Validation/GreaterThanValidator.php
typo3/sysext/form/Classes/Validation/InArrayValidator.php
typo3/sysext/form/Classes/Validation/IntegerValidator.php
typo3/sysext/form/Classes/Validation/IpValidator.php
typo3/sysext/form/Classes/Validation/LengthValidator.php
typo3/sysext/form/Classes/Validation/LessthanValidator.php
typo3/sysext/form/Classes/Validation/RegExpValidator.php
typo3/sysext/form/Classes/Validation/RequiredValidator.php
typo3/sysext/form/Classes/Validation/UriValidator.php
typo3/sysext/form/Classes/View/Confirmation/ConfirmationView.php
typo3/sysext/form/Classes/View/Mail/MailView.php