Project

General

Profile

Actions

Task #59616

closed

Story #58777: Fixes/Tasks for impexp / distributions

Import forces pid 0 if rootLevel = -1 is set in TCA

Added by Simplicity GmbH about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Import/Export (T3D)
Target version:
-
Start date:
2014-06-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Hi

When importing tx_gridelements_backend_layout records they are "forced" to the root level (pid=0).

Warnings in preview:
TABLE 'tx_gridelements_backend_layout' will be inserted on ROOT LEVEL!

I tried several export settings without success. Then I noticed that in Ext:gridelements rootLevel=-1 is set for this table. (in TCA, ext_tables.php)

When I change it to rootLevel=0 or remove the entry it is possible to import records into a sysfolder (which is included in the same .t3d file).

It seems impexp does not respect -1 (= allow record on root level and normal pages). If it would handle -1 the same way as it does when rootLevel is not set at all it would work in our case. But we don't need/want to import records to the root level.

Regards, Pascal


Files

import-message.jpg (136 KB) import-message.jpg Simplicity GmbH, 2014-08-21 00:33
Actions

Also available in: Atom PDF