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 over 10 years ago. Updated about 6 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 #1

Updated by Markus Klein over 10 years ago

  • Assignee set to Marc Bastian Heinrichs

@MaBa: Can you please check on that? Thx

Actions #2

Updated by Marc Bastian Heinrichs over 10 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Marc Bastian Heinrichs over 10 years ago

  • Parent task set to #58777
Actions #4

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31066

Actions #5

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31066

Actions #6

Updated by Simplicity GmbH over 10 years ago

It works with the patch. Gridelements are imported into the selected sysfolder now.

But I was confused at first because the alert message was still shown. Screenshot attached.
I tried it anyway and it worked.

After cloning TYPO3 I used the following link to checkout the patch. I'm not very familiar with git (yet), maybe I downloaded the wrong patch.
git fetch http://review.typo3.org/Packages/TYPO3.CMS refs/changes/66/31066/2 && git checkout FETCH_HEAD

Actions #7

Updated by Gerrit Code Review about 10 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31066

Actions #8

Updated by Gerrit Code Review about 10 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31066

Actions #9

Updated by Gerrit Code Review over 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31066

Actions #10

Updated by Gerrit Code Review over 9 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37838

Actions #11

Updated by Marc Bastian Heinrichs over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37838

Actions #13

Updated by Marc Bastian Heinrichs over 9 years ago

  • Status changed from Under Review to Resolved
Actions #14

Updated by Anja Leichsenring almost 9 years ago

  • Sprint Focus set to On Location Sprint
Actions #15

Updated by Mathias Schreiber over 8 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #16

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF