Project

General

Profile

Actions

Bug #24193

closed

Impexp fail to import recursive Templavoila flexform db reference data

Added by Jose Antonio Guerra almost 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-11-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When using impexp to export & import pages and content using Templavoila and DB reference data (as in DS for pages and FCE with relations with tt_content, for example) the references on the FlexForms are not imported correctly. So, the integrity of the importing while using Templavoila is not warranted.

This happens if the importing has to remap the id's of pages and tt_content.

Having this scenario:

  • Root of exported tree (pages:12) (tx_templavoila_ds =>1 , tx_templavoila_to =>1) * DS Object 1 (Page template) (id=1) * TO Object 1 (Page template) (id=1) * DS Object 2 (FCE) (id=2) * TO Object 2 (FCE) (id=2)
  • Child page 1 (pid => 12, uid=>13, tx_templavoila_flex => (points to tt_content 20) )
    • Flex content on page 1 (tt_content:20) (tx_templavoila_ds =>2 , tx_templavoila_to =>2, tx_templavoila_flex => (points to tt_content 21) )
    • Content on page 1 (tt_content:21)

(...)

  • Child page n

Where:

  • pages:12 is not on rootlevel
  • tx_templavoila_ds:1 is a page template so has a field in the FlexForm with a DB relation to tt_content
  • tx_templavoila_ds:2 is a FCE having at least a field in the FlexForm with a DB relation to tt_content

Steps to reproduce:

  • Using impexp on the source TYPO3 installation, we export the tree from pages:12 with infinite recursion. On the preview all seems to be fine. We download de T3D file
  • Upload the T3D file to a destination TYPO3 installation, using the same TYPO3 and Templavoila versions. Importing runs succesfully but some data is not imported correctly.

Data not imported correctly:

  • The imported counterpart of pages:12 mantains the original tx_templavoila_ds and tx_templavoila_to id's (the referencing objects are correctly imported though)
  • The data from fields "tx_templavoila_flex" from pages:13 and tt_content:20 is wrong. The references to the migrated tt_content id's are done correctly but written on other FlexForm fields, so the references are lost.

(issue imported from #M16555)

Actions

Also available in: Atom PDF