Project

General

Profile

Actions

Bug #36031

closed

T3D export of tt_content elements with IRRE relations between each other fails

Added by Jo Hasenau over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2012-04-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When exporting a structure containing grid elements to a T3D, there will be lots of warnings about elements being "recursive".
A reimport will on the hand give all elements back, but the relations will be completely broken.

Relations between elements are constructed using proper TCA settings of the type "inline".
Even the rest of the setup for the fields is done with plain core funcitonality.

So it seems there is a problem while exporting tt_content elements that are related to each other.

The result after importing it, gives the impression, that it might be a double export attempt on any child element, so that they will be exported as single elements once, and in a second attempt there is a try to export them again as a child element of a parent grid.
The last one fails leaving us with child elements moved from their container element to the page.

Tested with 4.6.x, but I guess the problem will be the same with 4.5.x


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #49162: Rewrite install toolClosed2011-10-30

Actions
Actions #1

Updated by Gerrit Code Review over 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/10495

Actions #2

Updated by Jo Hasenau over 12 years ago

The problem with the double elements is a reulst of a process_datamap hook action of grid elements itself.

But this is just due to the fact that process_datamap is used while importin as well, but without any additional information about TCE main being called by the import action.

So the hook methods will apply stuff that should be applied while copying, moving or creating elements during the usual editing process only.

The solution is to provide a boolean switch, that can be set during the import so that the hooks will "know" about the "isImporting" state.

Actions #3

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10511

Actions #4

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/10513

Actions #5

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10515

Actions #6

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10515

Actions #7

Updated by Gerrit Code Review over 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10515

Actions #8

Updated by Gerrit Code Review over 12 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10515

Actions #9

Updated by Gerrit Code Review almost 12 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10515

Actions #10

Updated by Gerrit Code Review over 11 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/10515

Actions #11

Updated by Gerrit Code Review over 11 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/10515

Actions #12

Updated by Gerrit Code Review over 11 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/10515

Actions #13

Updated by Stefan Galinski over 11 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF