[BUGFIX] impexp ignore file reference records with missing related files 23/46523/2
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Fri, 15 Jan 2016 14:35:33 +0000 (15:35 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 8 Feb 2016 12:34:42 +0000 (13:34 +0100)
commite623e4198be7a659e127f7dd1844a0543e09ebb0
treed39d046a4723cec4eb8619bc0647d97c62a2127c
parente052307b9f4ba2cacbb5482febf860807f924742
[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/46523
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/impexp/Classes/Import.php