[BUGFIX] impexp ignore file reference records with missing related files 24/46524/2
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Mon, 8 Feb 2016 12:37:07 +0000 (13:37 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 8 Feb 2016 12:46:52 +0000 (13:46 +0100)
commit3af650623453f1c4d5fe32464e19efbc81a9165c
treef4ca20a543e3a779cd196876dcb9a93375f91872
parentdf80dee7b34f8a5bdef4dd55897ef9b6d14f0648
[BUGFIX] impexp ignore file reference records with missing related files

It could happen, that an export contains sys_file_reference records
with relations to sys_files records, that was missing in the exporting
instance. This causes exceptions on importing the sys_file_reference
records, because the related sys_file record is checked on saving of
the sys_file_reference record.
To prevent this this sys_file_reference are ignored on import.

Resolves: #58693
Releases: master, 7.6, 6.2
Change-Id: I68afed93502553b0d55eb858bdb6da5641d1e5f0
Reviewed-on: https://review.typo3.org/46524
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/impexp/Classes/ImportExport.php