Task #55532
closedEpic #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
Impexp: import the binary files being sys_file records to the right storage
100%
Description
General: the Datahandler should not be used to import sys_file records.
The files and sys_file records should be written using the FAL API.
A) The FAL handling must be done before $this->writeRecords_records($pid);B) import contains a sys_file_storage record:
- Check if driver is Local
C) remove sys_file_storage entries from header records
- Not Local: use Default storage for import
- Local: check for identical storage (same basePath/pathType)
- identical: use the present one
- not identical: import, save new ID and use it (add option to force the default)
D) Loop through sys_file records
- init storage
- use imported storage, use identical present one, use the default one or fetch the best one for the identifier
- before save: check if there is a file with same identifier and same same hash
- save map from old ids to new ids
E) remove sys_file entries from header records
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27836
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27836
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27836
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27836
Updated by Gerrit Code Review over 10 years ago
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/27836
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/27836
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/27836
Updated by Marc Bastian Heinrichs over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 80 to 100
Applied in changeset 6d04aab04870bd81da36cba4fad9cb8d23c9b92a.
Updated by Anja Leichsenring almost 9 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 Oliver Hader over 7 years ago
- Related to Bug #81277: Import tests with side effects added
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed