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.
Category:
Import/Export (T3D)
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
- Status changed from New to Under Review
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
Well, it seems that the problem is with records that have files associated with them.
- Parent task set to #54542
- Parent task changed from #54542 to #55521
- % Done changed from 0 to 30
- Status changed from Under Review to Accepted
- Category changed from File Abstraction Layer (FAL) to Import/Export (T3D)
- Status changed from Accepted to Under Review
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.
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?
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.
Check the updated patchset. There was indeed a bug, when the folder "_imported" was already created.
- Status changed from Under Review to Resolved
- % Done changed from 30 to 100
- Sprint Focus set to On Location Sprint
- Sprint Focus deleted (
On Location Sprint)
- Status changed from Resolved to Closed
Also available in: Atom
PDF