Task #49227
closed
Epic #55070: Workpackages
Epic #54542: WP: Importer / Exporter with relations MM/IRRE/FAL
Story #55520: As an User I want to create exports in v. 6.2 and import them in v. 6.2
Files missing in import/export
Added by Francois Suter over 11 years ago.
Updated almost 7 years ago.
Category:
Import/Export (T3D)
Description
When exporting and importing sys_file records using the impexp module, the files are not copied, causing errors after import.
More generally the import/export process works pretty badly with FAL, because all storages and sys_files are stored in pid = 0, making it impossible to export just a few pages with their images. You are obliged to export the whole root.
- Category changed from File Abstraction Layer (FAL) to Import/Export (T3D)
- Assignee set to Marc Bastian Heinrichs
- Target version set to 6.2.0
- Parent task set to #55520
- Is Regression set to No
Hey Francois,
More generally the import/export process works pretty badly with FAL, because all storages and
sys_files are stored in pid = 0, making it impossible to export just a few pages with their
images. You are obliged to export the whole root.
you could include relations stored outside your export tree (also to sys_file records) by selecting the tables in "Include relations to tables:"
- Status changed from New to Needs Feedback
- Assignee changed from Marc Bastian Heinrichs to Francois Suter
Works for you now in 6.2?
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
Sounds fine closing it. I haven't tried such a scenario recently, I know a lot happened in 6.2 in this regard.
I tested this on a 6.2.15 setup.
We had 3 existing domains, we had to do a 4th domain, add content and do a t3d export of the branch.
Well, without any error message about the missing FAL images, Typo3 did do the import/export!
At the other end, the references to sys_file was all wrong.
On analyzing deeper, I see that during the process, the uid_local in "sys_file_reference" did not get updated, instead it tried to use the same value as in the source. Instead this should have used the latest "uid" of the sys_file on the destination.
- % Done changed from 0 to 100
- Sprint Focus set to On Location Sprint
- Sprint Focus deleted (
On Location Sprint)
- TYPO3 Version changed from 6.1 to 7
- PHP Version changed from 5.3 to 7.0
It is still not possible to import files. I have an 4.6 installatioin here, I wanted to export it and import it in a 7.6 installation -> no images. So I upgraded the 4.6 system to 7.6. But export 7.6 and import to 7.6 -> no images.
No file found for given UID.
Please reopen!
- % Done changed from 100 to 0
- % Done changed from 0 to 100
- Related to Bug #82047: Files are not considered for page tree export to .T3D added
Exporting (FAL) files works. i fiddled with ext:introduction recently and had to do this various times now in v8 and v9:
It depends on correct export configuration:
Usually, you do not want to select the sys_file* tables in "Include tables:", but instead select them in "Include relations to tables:", and DO NOT select them in "Use static relations for tables:". With this configuration, files related to for instance tt_content elements are exported, but only those, and not other files which are not connected to your main "Include tables".
Note: ext:introduction now comes with a well configured export preset in https://github.com/FriendsOfTYPO3/introduction/blob/master/Resources/Private/ImportExportPreset.sql - just import that row into DB and play around with the preset a bit.
That's good to know. Thanks for the update.
Also available in: Atom
PDF