[BUGFIX] Use correct max size for fields in TCA 72/42772/2
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 20 Aug 2015 12:12:28 +0000 (14:12 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 20 Aug 2015 12:18:32 +0000 (14:18 +0200)
Some fields are using a varchar(255) in the DB but the max size
is defined with 256 in the TCA. Change the TCA to 255 to avoid errors.

Change-Id: Iad09512e98bb9e2fb9b52e32e0f5f4f8d9b49035
Resolves: #69209
Releases: master
Reviewed-on: http://review.typo3.org/42772
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Configuration/TCA/backend_layout.php
typo3/sysext/frontend/Configuration/TCA/sys_template.php
typo3/sysext/sys_action/Configuration/TCA/sys_action.php
typo3/sysext/sys_note/Configuration/TCA/sys_note.php

index 4edfdd6..a1864cf 100644 (file)
@@ -28,7 +28,7 @@ return array(
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
-                               'max' => '256',
+                               'max' => '255',
                                'eval' => 'required'
                        )
                ),
index 56a0039..0445a67 100644 (file)
@@ -39,7 +39,7 @@ return array(
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
-                               'max' => '256',
+                               'max' => '255',
                                'eval' => 'required'
                        )
                ),
@@ -96,7 +96,7 @@ return array(
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
-                               'max' => '256'
+                               'max' => '255'
                        )
                ),
                'constants' => array(
index 811e283..a6ab083 100644 (file)
@@ -31,7 +31,7 @@ return array(
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
-                               'max' => '256',
+                               'max' => '255',
                                'eval' => 'trim,required'
                        )
                ),
index 952353e..c9e5077 100644 (file)
@@ -35,7 +35,7 @@ return array(
                        'config' => array(
                                'type' => 'input',
                                'size' => '40',
-                               'max' => '256'
+                               'max' => '255'
                        )
                ),
                'message' => array(