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.
Category:
Import/Export (T3D)
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
- Assignee set to Marc Bastian Heinrichs
@MaBa: Can you please check on that? Thx
- Status changed from New to Accepted
- Parent task set to #58777
- Status changed from Accepted to Under Review
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
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
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
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
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- 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
- Status changed from Under Review to Resolved
- Sprint Focus set to On Location Sprint
- Sprint Focus deleted (
On Location Sprint)
- Status changed from Resolved to Closed
Also available in: Atom
PDF