[BUGFIX] Form localization depending on old class names 01/35401/2
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:17:08 +0000 (22:17 +0100)
commitc51665e47e0fc3f9aebeb525e6430646b277af96
treea30a22ff7413de333aae71aad12821ed157cba93
parent98ac63c08859cf269c64fc8fa247a5cb1276afcf
[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/35401
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