Project

General

Profile

Actions

Task #55532

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

Impexp: import the binary files being sys_file records to the right storage

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:
2014-01-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

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
  • 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)
C) remove sys_file_storage entries from header records
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


Related issues 6 (0 open6 closed)

Related to TYPO3 Core - Task #55431: Impexp: file contents of sys_file are not included in exportClosedMarc Bastian Heinrichs2014-01-29

Actions
Related to TYPO3 Core - Task #55528: Importing a identical sys_file_storage have to be preventedClosedMarc Bastian Heinrichs2014-01-31

Actions
Related to TYPO3 Core - Task #55526: Impexp: missing fields of sys_file on importRejected2014-01-31

Actions
Related to TYPO3 Core - Task #55906: Impext: Don't clear relation field data for sys_file_reference uid_localClosedMarc Bastian Heinrichs2014-02-11

Actions
Related to TYPO3 Core - Task #49227: Files missing in import/exportClosedFrancois Suter2013-06-18

Actions
Related to TYPO3 Core - Bug #81277: Import tests with side effectsClosed2017-05-19

Actions
Actions

Also available in: Atom PDF