[BUGFIX] Add missing table column type „SLUG“ 68/58068/2
authorFrank Naegler <frank.naegler@typo3.org>
Wed, 29 Aug 2018 08:06:54 +0000 (10:06 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 29 Aug 2018 19:46:45 +0000 (21:46 +0200)
Resolves: #86017
Releases: master
Change-Id: Ic7315dfa4b287c42c88ff80e4040e1185273bd7c
Reviewed-on: https://review.typo3.org/58068
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Tobias Wollender <tliegl@gmail.com>
Tested-by: Tobias Wollender <tliegl@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/core/Classes/DataHandling/TableColumnType.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php

index 4d07d98..9b20e61 100644 (file)
@@ -38,6 +38,7 @@ final class TableColumnType extends Enumeration
     const FLEX = 'FLEX';
     const INLINE = 'INLINE';
     const IMAGEMANIPULATION = 'IMAGEMANIPULATION';
+    const SLUG = 'SLUG';
 
     /**
      * @param mixed $type
index ff720fb..47eb49e 100644 (file)
@@ -567,6 +567,7 @@ class DataMapFactoryTest extends UnitTestCase
             [['type' => 'user'], TableColumnType::USER, null],
             [['type' => 'flex'], TableColumnType::FLEX, null],
             [['type' => 'inline'], TableColumnType::INLINE, null],
+            [['type' => 'slug'], TableColumnType::SLUG, null],
         ];
     }