Issue Task Closed

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

Simplicity GmbH 06/16/14, 21:49 updated 10/02/18, 11:53

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

Reviews 2