Task #52593
closedEpic #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
100%
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
Updated by Gerrit Code Review almost 11 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
Updated by Gerrit Code Review almost 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22939
Updated by Sten _ almost 11 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
Updated by Sten _ almost 11 years ago
Well, it seems that the problem is with records that have files associated with them.
Updated by Sten _ almost 11 years ago
connecting it with this patch: http://forge.typo3.org/issues/52972 brings no error, but completely broken image paths
Updated by Marc Bastian Heinrichs over 10 years ago
- Parent task changed from #54542 to #55521
Updated by Marc Bastian Heinrichs over 10 years ago
- Status changed from Under Review to Accepted
Updated by Marc Bastian Heinrichs over 10 years ago
- Category changed from File Abstraction Layer (FAL) to Import/Export (T3D)
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by filigivuji filigivuji over 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.
Updated by Marc Bastian Heinrichs over 10 years ago
to have a correct export in 4.x you need to add also patches to
these versions ATM:
for 4.5:
- https://review.typo3.org/#/c/28171/
- https://review.typo3.org/#/c/28483/ (this one is for 4.7, but should
also work on 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?
Updated by filigivuji filigivuji over 10 years ago
- File pagetest.xml pagetest.xml added
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.
Updated by Gerrit Code Review over 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
Updated by Marc Bastian Heinrichs over 10 years ago
Check the updated patchset. There was indeed a bug, when the folder "_imported" was already created.
Updated by Marc Bastian Heinrichs over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 30 to 100
Applied in changeset 846ebe67cef8b13c4f5b9f9ff83d6de05dfbe91b.
Updated by Anja Leichsenring over 8 years ago
- Sprint Focus set to On Location Sprint
Updated by Mathias Schreiber over 8 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed