Project

General

Profile

Actions

Task #52593

closed

Epic #55070: Workpackages

Epic #54542: WP: Importer / Exporter with relations MM/IRRE/FAL

Story #55521: As an User I want to create exports in v. 4.x and import them in v. 6.2

Impexp: make 4.x exports work as import in 6.x

Added by Marc Bastian Heinrichs over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Import/Export (T3D)
Target version:
Start date:
2013-10-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

Exports from version 4.x are not compatible with FAL.
On importing such an export in version 6.x the images needs
to be moved and added to sys_file.

  • related images from uploads/ (e.g. tt_content:images and pages:media) are moved to fileadmin/_import/.
  • linked files are moved to the original folder structure below fileadmin/_import/.
  • (!!!) Files from fields of old type group file should NOT be moved

Files

pagetest.xml (10.5 KB) pagetest.xml filigivuji filigivuji, 2014-04-04 20:09

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #46679: impexp: Import in v6 fails with fal-errorClosed2013-03-26

Actions
Related to TYPO3 Core - Task #55530: Avoid to find a file object with uid 0ClosedMarc Bastian Heinrichs2014-01-31

Actions
Related to TYPO3 Core - Task #57006: SoftReferenceIndex typolink[linkList] missing support separation by line feedClosedMarc Bastian Heinrichs2014-03-17

Actions
Has duplicate TYPO3 Core - Bug #53275: Import of 4.* t3d exports to 6.* typo3: files do not workClosed2013-11-01

Actions
Actions #1

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Gerrit Code Review over 10 years ago

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

Actions #3

Updated by Sten _ over 10 years ago

hi Marc, your patch works only partially

importing failed...

error: #1321023156: uid property is already set. Cannot merge index record. (More information)

Trace is here: http://pastebin.com/z27m8qDR

Actions #4

Updated by Sten _ over 10 years ago

Well, it seems that the problem is with records that have files associated with them.

Actions #5

Updated by Sten _ over 10 years ago

connecting it with this patch: http://forge.typo3.org/issues/52972 brings no error, but completely broken image paths

Actions #6

Updated by Ernesto Baschny over 10 years ago

  • Parent task set to #54542
Actions #7

Updated by Marc Bastian Heinrichs about 10 years ago

  • Parent task changed from #54542 to #55521
Actions #8

Updated by Marc Bastian Heinrichs about 10 years ago

  • % Done changed from 0 to 30
Actions #9

Updated by Marc Bastian Heinrichs about 10 years ago

  • Status changed from Under Review to Accepted
Actions #10

Updated by Marc Bastian Heinrichs about 10 years ago

  • Category changed from File Abstraction Layer (FAL) to Import/Export (T3D)
Actions #11

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Accepted to Under Review

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

Actions #12

Updated by Gerrit Code Review about 10 years ago

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

Actions #13

Updated by Gerrit Code Review about 10 years ago

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

Actions #14

Updated by Gerrit Code Review about 10 years ago

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

Actions #15

Updated by filigivuji filigivuji about 10 years ago

Is this patch not yet finished or did I miss something?
I applied patch set 8 but still get the "uid of fileusage (sys_file_reference) has to be numeric" when importing a 4.5 project.

Actions #16

Updated by Marc Bastian Heinrichs about 10 years ago

Hey,
to have a correct export in 4.x you need to add also patches to
these versions ATM:
for 4.5:

And if this also don't fix your problem, could you provide some small export in xml format, that I could test this?

Actions #17

Updated by filigivuji filigivuji about 10 years ago

Thanks for your help.
I applied those two patches, same error message as before ("uid of fileusage (sys_file_reference) has to be numeric").
Tested on fresh installations of 4.5 and 6.2 with all three patches applied (for the 6.2 patch, I omitted the test files and only patched ImportExport.php).
Attached the export as XML.

Actions #18

Updated by Gerrit Code Review about 10 years ago

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

Actions #19

Updated by Marc Bastian Heinrichs about 10 years ago

Check the updated patchset. There was indeed a bug, when the folder "_imported" was already created.

Actions #20

Updated by filigivuji filigivuji about 10 years ago

Works now, thanks.

Actions #21

Updated by Marc Bastian Heinrichs about 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 30 to 100
Actions #22

Updated by Anja Leichsenring over 8 years ago

  • Sprint Focus set to On Location Sprint
Actions #23

Updated by Mathias Schreiber almost 8 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF