[BUGFIX] Avoid JS error when using 'eval' => 'int,nospace' in TCA 00/55500/3
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 30 Jan 2018 11:12:43 +0000 (12:12 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Tue, 30 Jan 2018 14:43:52 +0000 (15:43 +0100)
commit8e71dd86eb5f5aa9e1691b3653f7172b3f309a59
tree6fd9e09776f059bf7fdbdd12e7ac16fb36587f39
parent8809441a72adf79a45b706c50e37d4da8c918aec
[BUGFIX] Avoid JS error when using 'eval' => 'int,nospace' in TCA

By casting the JavaScript variable to string this patch avoids an error
if 'eval' => 'int,nospace' is used in a TCA column definition.

Resolves: #83731
Releases: master, 8.7
Change-Id: I5be79bf6cd748ac184505f0aa4bd97c7d934eebd
Reviewed-on: https://review.typo3.org/55500
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Sascha Rademacher <sascha.rademacher+typo3@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js