Task #59616
closedStory #58777: Fixes/Tasks for impexp / distributions
Import forces pid 0 if rootLevel = -1 is set in TCA
100%
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
Updated by Markus Klein over 10 years ago
- Assignee set to Marc Bastian Heinrichs
@MaBa: Can you please check on that? Thx
Updated by Marc Bastian Heinrichs over 10 years ago
- Status changed from New to Accepted
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
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
Updated by Simplicity GmbH about 10 years ago
- File import-message.jpg import-message.jpg added
- File import-message.jpg import-message.jpg added
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
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
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
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
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
Updated by Marc Bastian Heinrichs over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0e7acd5a4fa4c571a5e8970d6c55f55c5522fc12.
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
Updated by Marc Bastian Heinrichs over 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 089417cb8dd9fb5b658647010b95f08c640615d9.
Updated by Anja Leichsenring almost 9 years ago
- Sprint Focus set to On Location Sprint
Updated by Mathias Schreiber over 8 years ago
- Sprint Focus deleted (
On Location Sprint)