[BUGFIX] impexp ignore file reference records with missing related files 94/29994/12
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:17 +0000 (13:34 +0100)
commitf8022ed4b101c257fb7c98b267d27dfccd251344
tree69d5fbec23203887748af4bd5fb72e1847b2637b
parent4a84ac7c89afd9c186c84a939a797856d8705263
[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/29994
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/impexp/Classes/Import.php