[TASK] Move field configuration of tx_impexp_origuid 35/49935/3
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 13 Sep 2016 18:43:14 +0000 (20:43 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 26 Sep 2016 18:06:28 +0000 (20:06 +0200)
Move the configuration to EXT:impexp.

Resolves: #77941
Releases: master
Change-Id: I1e87ba5eb1f9abf52abcd7f2e345ced9093c2a27
Reviewed-on: https://review.typo3.org/49935
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/core/Configuration/TCA/pages.php
typo3/sysext/core/ext_tables.sql
typo3/sysext/frontend/Configuration/TCA/pages_language_overlay.php
typo3/sysext/frontend/Configuration/TCA/sys_template.php
typo3/sysext/frontend/Configuration/TCA/tt_content.php
typo3/sysext/frontend/ext_tables.sql
typo3/sysext/impexp/Configuration/TCA/Overrides/pages.php [new file with mode: 0644]
typo3/sysext/impexp/Configuration/TCA/Overrides/pages_language_overlay.php [new file with mode: 0644]
typo3/sysext/impexp/Configuration/TCA/Overrides/sys_template.php [new file with mode: 0644]
typo3/sysext/impexp/Configuration/TCA/Overrides/tt_content.php [new file with mode: 0644]
typo3/sysext/impexp/ext_tables.sql

index 81081cb..68a052e 100644 (file)
@@ -159,7 +159,6 @@ return [
                 ]
             ]
         ],
-        'tx_impexp_origuid' => ['config' => ['type' => 'passthrough']],
         't3ver_label' => [
             'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
             'config' => [
index 5ad60ad..6f90ed9 100644 (file)
@@ -125,7 +125,6 @@ CREATE TABLE pages (
        TSconfig text,
        is_siteroot tinyint(4) DEFAULT '0' NOT NULL,
        php_tree_stop tinyint(4) DEFAULT '0' NOT NULL,
-       tx_impexp_origuid int(11) DEFAULT '0' NOT NULL,
        url varchar(255) DEFAULT '' NOT NULL,
        starttime int(11) unsigned DEFAULT '0' NOT NULL,
        endtime int(11) unsigned DEFAULT '0' NOT NULL,
index f64469e..9dbeabc 100644 (file)
@@ -251,7 +251,6 @@ return [
                 'showIconTable' => true,
             ]
         ],
-        'tx_impexp_origuid' => ['config' => ['type' => 'passthrough']],
         'l18n_diffsource' => [
             'config' => [
                 'type' => 'passthrough',
index 501f99d..5e6bd66 100644 (file)
@@ -220,7 +220,6 @@ return [
                 'default' => 0
             ]
         ],
-        'tx_impexp_origuid' => ['config' => ['type' => 'passthrough']],
         't3ver_label' => [
             'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
             'config' => [
index 560ba80..1c41534 100644 (file)
@@ -961,11 +961,6 @@ return [
                 ]
             ]
         ],
-        'tx_impexp_origuid' => [
-            'config' => [
-                'type' => 'passthrough'
-            ]
-        ],
         'accessibility_title' => [
             'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:accessibility_title',
             'config' => [
index d90894b..241460d 100644 (file)
@@ -150,7 +150,6 @@ CREATE TABLE pages_language_overlay (
        abstract text,
        author varchar(255) DEFAULT '' NOT NULL,
        author_email varchar(80) DEFAULT '' NOT NULL,
-       tx_impexp_origuid int(11) DEFAULT '0' NOT NULL,
        l18n_diffsource mediumblob,
        url varchar(255) DEFAULT '' NOT NULL,
        urltype tinyint(4) unsigned DEFAULT '0' NOT NULL,
@@ -220,7 +219,6 @@ CREATE TABLE sys_template (
        deleted tinyint(3) unsigned DEFAULT '0' NOT NULL,
        includeStaticAfterBasedOn tinyint(4) unsigned DEFAULT '0' NOT NULL,
        static_file_mode tinyint(4) unsigned DEFAULT '0' NOT NULL,
-       tx_impexp_origuid int(11) DEFAULT '0' NOT NULL,
 
        PRIMARY KEY (uid),
        KEY t3ver_oid (t3ver_oid,t3ver_wsid),
@@ -288,7 +286,6 @@ CREATE TABLE tt_content (
        recursive tinyint(3) unsigned DEFAULT '0' NOT NULL,
        imageheight mediumint(8) unsigned DEFAULT '0' NOT NULL,
        sys_language_uid int(11) DEFAULT '0' NOT NULL,
-       tx_impexp_origuid int(11) DEFAULT '0' NOT NULL,
        pi_flexform mediumtext,
        accessibility_title varchar(30) DEFAULT '' NOT NULL,
        accessibility_bypass tinyint(3) unsigned DEFAULT '0' NOT NULL,
diff --git a/typo3/sysext/impexp/Configuration/TCA/Overrides/pages.php b/typo3/sysext/impexp/Configuration/TCA/Overrides/pages.php
new file mode 100644 (file)
index 0000000..de0bf62
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+defined('TYPO3_MODE') or die();
+
+$fields = [
+    'tx_impexp_origuid' => [
+        'config' => [
+            'type' => 'passthrough'
+        ]
+    ]
+];
+
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $fields);
diff --git a/typo3/sysext/impexp/Configuration/TCA/Overrides/pages_language_overlay.php b/typo3/sysext/impexp/Configuration/TCA/Overrides/pages_language_overlay.php
new file mode 100644 (file)
index 0000000..6533a85
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+defined('TYPO3_MODE') or die();
+
+$fields = [
+    'tx_impexp_origuid' => [
+        'config' => [
+            'type' => 'passthrough'
+        ]
+    ]
+];
+
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages_language_overlay', $fields);
diff --git a/typo3/sysext/impexp/Configuration/TCA/Overrides/sys_template.php b/typo3/sysext/impexp/Configuration/TCA/Overrides/sys_template.php
new file mode 100644 (file)
index 0000000..7473be3
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+defined('TYPO3_MODE') or die();
+
+$fields = [
+    'tx_impexp_origuid' => [
+        'config' => [
+            'type' => 'passthrough'
+        ]
+    ]
+];
+
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('sys_template', $fields);
diff --git a/typo3/sysext/impexp/Configuration/TCA/Overrides/tt_content.php b/typo3/sysext/impexp/Configuration/TCA/Overrides/tt_content.php
new file mode 100644 (file)
index 0000000..e7d917b
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+defined('TYPO3_MODE') or die();
+
+$fields = [
+    'tx_impexp_origuid' => [
+        'config' => [
+            'type' => 'passthrough'
+        ]
+    ]
+];
+
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $fields);
index c513627..fc96fce 100644 (file)
@@ -10,4 +10,32 @@ CREATE TABLE tx_impexp_presets (
   preset_data blob,
   PRIMARY KEY (uid),
   KEY lookup (item_uid)
+);
+
+#
+# Table structure for table 'tt_content'
+#
+CREATE TABLE tt_content (
+  tx_impexp_origuid int(11) DEFAULT '0' NOT NULL
+);
+
+#
+# Table structure for table 'pages'
+#
+CREATE TABLE pages (
+  tx_impexp_origuid int(11) DEFAULT '0' NOT NULL
+);
+
+#
+# Table structure for table 'pages_language_overlay'
+#
+CREATE TABLE pages_language_overlay (
+  tx_impexp_origuid int(11) DEFAULT '0' NOT NULL
+);
+
+#
+# Table structure for table 'sys_template'
+#
+CREATE TABLE sys_template (
+  tx_impexp_origuid int(11) DEFAULT '0' NOT NULL
 );
\ No newline at end of file