[BUGFIX] impexp: Wrong FAL references after import 67/55367/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 15 Jan 2018 14:54:57 +0000 (15:54 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 15 Jan 2018 19:51:02 +0000 (20:51 +0100)
Fix a case during ext:impexp FAL uid mapping where
sys_file_reference end up pointing to wrong sys_file
records in case new sys_file uids also already exist
in import file, due to multiple mappings.
Power the patch with a functional test - it fails
without the change in Import.php and is ok with the
change.
See the test method comments for more details
on what exactly is checked here.

Change-Id: I472cad2652e8d6f5d30e4ebc68ff1ae93de71ea1
Resolves: #67188
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/55367
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/impexp/Classes/Import.php
typo3/sysext/impexp/Tests/Functional/Fixtures/DatabaseAssertions/importPagesAndTtContentWithRemappingNewSysFileEntries.csv [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/DatabaseImports/sys_file_single_image.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-two-images.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php

index 19fe74d..59002d5 100644 (file)
@@ -511,10 +511,11 @@ class Import extends ImportExport
         }
 
         foreach ($this->dat['header']['records']['sys_file_reference'] as $sysFileReferenceUid => $_) {
-            $fileReferenceRecord = $this->dat['records']['sys_file_reference:' . $sysFileReferenceUid]['data'];
-            if ($fileReferenceRecord['uid_local'] == $oldFileUid) {
-                $fileReferenceRecord['uid_local'] = $newFileUid;
-                $this->dat['records']['sys_file_reference:' . $sysFileReferenceUid]['data'] = $fileReferenceRecord;
+            if (!isset($this->dat['records']['sys_file_reference:' . $sysFileReferenceUid]['hasBeenMapped'])
+                && $this->dat['records']['sys_file_reference:' . $sysFileReferenceUid]['data']['uid_local'] == $oldFileUid
+            ) {
+                $this->dat['records']['sys_file_reference:' . $sysFileReferenceUid]['hasBeenMapped'] = true;
+                $this->dat['records']['sys_file_reference:' . $sysFileReferenceUid]['data']['uid_local'] = $newFileUid;
             }
         }
     }
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/DatabaseAssertions/importPagesAndTtContentWithRemappingNewSysFileEntries.csv b/typo3/sysext/impexp/Tests/Functional/Fixtures/DatabaseAssertions/importPagesAndTtContentWithRemappingNewSysFileEntries.csv
new file mode 100644 (file)
index 0000000..ce8d3fc
--- /dev/null
@@ -0,0 +1,21 @@
+"pages"
+,"uid","pid","sorting","deleted","title"
+,1,0,256,0,"Root"
+"tt_content"
+,"uid","pid","sorting","deleted","header","image"
+,1,1,256,0,"CE 3 second image",1
+,2,1,128,0,"CE 2 second image",1
+,3,1,64,0,"CE 1 first image",1
+"sys_file_storage"
+,"uid","pid","name","driver"
+,1,0,"fileadmin/ (auto-created)","Local"
+"sys_file"
+,"uid","pid","storage","type","identifier","identifier_hash","folder_hash","extension","mime_type","name","sha1","size"
+,1,0,1,2,"/user_upload/typo3_image2.jpg","f90bb9a35622f35b5279195e324eddbaec8164b2","19669f1e02c2f16705ec7587044c66443be70725","jpg","image/jpeg","typo3_image2.jpg","da9acdf1e105784a57bbffec9520969578287797","7958"
+,2,0,1,2,"/user_upload/used-1.jpg","a0d28ab6398a25c7a0c24f6ace6a3b43d773115e","19669f1e02c2f16705ec7587044c66443be70725","jpg","image/jpeg","used-1.jpg","da9acdf1e105784a57bbffec9520969578287797","7958"
+,3,0,1,2,"/user_upload/used-2.jpg","5fd92415f6154c29349bbfb214b9e2d9dbb3d89a","19669f1e02c2f16705ec7587044c66443be70725","jpg","image/jpeg","used-2.jpg","c3511df85d21bc578faf71c6a19eeb3ff44af370","7425"
+"sys_file_reference"
+,"uid","pid","uid_local","uid_foreign","tablenames","fieldname","table_local","title","description","alternative","link"
+,1,1,3,1,"tt_content","image","sys_file",\NULL,\NULL,\NULL,""
+,2,1,3,2,"tt_content","image","sys_file",\NULL,\NULL,\NULL,""
+,3,1,2,3,"tt_content","image","sys_file",\NULL,\NULL,\NULL,""
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/DatabaseImports/sys_file_single_image.xml b/typo3/sysext/impexp/Tests/Functional/Fixtures/DatabaseImports/sys_file_single_image.xml
new file mode 100644 (file)
index 0000000..fa76c6b
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<dataset>
+       <sys_file>
+               <uid>1</uid>
+               <pid>0</pid>
+               <storage>1</storage>
+               <type>2</type>
+               <identifier>/user_upload/typo3_image2.jpg</identifier>
+               <identifier_hash>f90bb9a35622f35b5279195e324eddbaec8164b2</identifier_hash>
+               <folder_hash>19669f1e02c2f16705ec7587044c66443be70725</folder_hash>
+               <extension>jpg</extension>
+               <mime_type>image/jpeg</mime_type>
+               <name>typo3_image2.jpg</name>
+               <sha1>da9acdf1e105784a57bbffec9520969578287797</sha1>
+               <size>7958</size>
+               <creation_date>1389878273</creation_date>
+               <modification_date>1389878273</modification_date>
+       </sys_file>
+</dataset>
\ No newline at end of file
diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-two-images.xml b/typo3/sysext/impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-two-images.xml
new file mode 100644 (file)
index 0000000..0b5e175
--- /dev/null
@@ -0,0 +1,741 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<T3RecordDocument>
+       <header type="array">
+               <extensionDependencies type="array"></extensionDependencies>
+               <records type="array">
+                       <table index="pages" type="array">
+                               <rec index="1" type="array">
+                                       <uid>1</uid>
+                                       <pid>0</pid>
+                                       <title>Root</title>
+                                       <size>138</size>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                       </table>
+                       <table index="tt_content" type="array">
+                               <rec index="1" type="array">
+                                       <uid>1</uid>
+                                       <pid>1</pid>
+                                       <title>CE 1 first image</title>
+                                       <size>196</size>
+                                       <relations index="rels" type="array">
+                                               <element index="sys_file_reference:1" type="array">
+                                                       <id>1</id>
+                                                       <table>sys_file_reference</table>
+                                               </element>
+                                       </relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                               <rec index="2" type="array">
+                                       <uid>2</uid>
+                                       <pid>1</pid>
+                                       <title>CE 2 second image</title>
+                                       <size>196</size>
+                                       <relations index="rels" type="array">
+                                               <element index="sys_file_reference:2" type="array">
+                                                       <id>2</id>
+                                                       <table>sys_file_reference</table>
+                                               </element>
+                                       </relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                               <rec index="3" type="array">
+                                       <uid>3</uid>
+                                       <pid>1</pid>
+                                       <title>CE 3 second image</title>
+                                       <size>196</size>
+                                       <relations index="rels" type="array">
+                                               <element index="sys_file_reference:3" type="array">
+                                                       <id>3</id>
+                                                       <table>sys_file_reference</table>
+                                               </element>
+                                       </relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                       </table>
+                       <table index="sys_file_reference" type="array">
+                               <rec index="1" type="array">
+                                       <uid>1</uid>
+                                       <pid>1</pid>
+                                       <title>used-1.jpg</title>
+                                       <size>277</size>
+                                       <relations index="rels" type="array">
+                                               <element index="sys_file:1" type="array">
+                                                       <id>1</id>
+                                                       <table>sys_file</table>
+                                               </element>
+                                       </relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                               <rec index="2" type="array">
+                                       <uid>2</uid>
+                                       <pid>1</pid>
+                                       <title>used-2.jpg</title>
+                                       <size>277</size>
+                                       <relations index="rels" type="array">
+                                               <element index="sys_file:2" type="array">
+                                                       <id>2</id>
+                                                       <table>sys_file</table>
+                                               </element>
+                                       </relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                               <rec index="3" type="array">
+                                       <uid>3</uid>
+                                       <pid>1</pid>
+                                       <title>used-2.jpg</title>
+                                       <size>277</size>
+                                       <relations index="rels" type="array">
+                                               <element index="sys_file:2" type="array">
+                                                       <id>2</id>
+                                                       <table>sys_file</table>
+                                               </element>
+                                       </relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                       </table>
+                       <table index="sys_file" type="array">
+                               <rec index="1" type="array">
+                                       <uid>1</uid>
+                                       <pid>0</pid>
+                                       <title>used-1.jpg</title>
+                                       <size>502</size>
+                                       <relationLevel>1</relationLevel>
+                                       <relations index="rels" type="array">
+                                               <element index="sys_file_storage:1" type="array">
+                                                       <id>1</id>
+                                                       <table>sys_file_storage</table>
+                                               </element>
+                                       </relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                               <rec index="2" type="array">
+                                       <uid>2</uid>
+                                       <pid>0</pid>
+                                       <title>used-2.jpg</title>
+                                       <size>502</size>
+                                       <relationLevel>1</relationLevel>
+                                       <relations index="rels" type="array">
+                                               <element index="sys_file_storage:1" type="array">
+                                                       <id>1</id>
+                                                       <table>sys_file_storage</table>
+                                               </element>
+                                       </relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                       </table>
+                       <table index="sys_file_storage" type="array">
+                               <rec index="1" type="array">
+                                       <uid>1</uid>
+                                       <pid>0</pid>
+                                       <title>fileadmin/ (auto-created)</title>
+                                       <size>722</size>
+                                       <relationLevel>2</relationLevel>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
+                               </rec>
+                       </table>
+               </records>
+               <pid_lookup type="array">
+                       <page_contents index="0" type="array">
+                               <table index="sys_file" type="array">
+                                       <item index="1">1</item>
+                                       <item index="2">1</item>
+                               </table>
+                               <table index="sys_file_storage" type="array">
+                                       <item index="1">1</item>
+                               </table>
+                               <table index="tt_content" type="array">
+                                       <item index="1">1</item>
+                                       <item index="2">1</item>
+                                       <item index="3">1</item>
+                               </table>
+                               <table index="sys_file_reference" type="array">
+                                       <item index="1">1</item>
+                                       <item index="2">1</item>
+                                       <item index="3">1</item>
+                               </table>
+                       </page_contents>
+               </pid_lookup>
+               <pagetree type="array">
+                       <node index="0" type="array">
+                               <uid>0</uid>
+                               <node index="subrow" type="array">
+                                       <node index="1" type="array">
+                                               <uid>1</uid>
+                                       </node>
+                               </node>
+                       </node>
+               </pagetree>
+               <files_fal type="array">
+                       <file index="4a705ca3ef43b53dc00de861ba2c86af" type="array">
+                               <filesize>7958</filesize>
+                               <filename>used-1.jpg</filename>
+                               <filemtime>1389878273</filemtime>
+                       </file>
+                       <file index="23116a2a95820388bb7eede903382d4c" type="array">
+                               <filesize>7425</filesize>
+                               <filename>used-2.jpg</filename>
+                               <filemtime>1393432183</filemtime>
+                       </file>
+               </files_fal>
+       </header>
+       <records type="array">
+               <tablerow index="pages:1" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">1</field>
+                               <field index="pid" type="integer">0</field>
+                               <field index="deleted" type="integer">0</field>
+                               <field index="perms_everybody" type="integer">15</field>
+                               <field index="hidden" type="integer">0</field>
+                               <field index="title">Root</field>
+                               <field index="doktype" type="integer">1</field>
+                       </fieldlist>
+                       <related index="rels" type="array"></related>
+               </tablerow>
+               <tablerow index="tt_content:1" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">1</field>
+                               <field index="pid" type="integer">1</field>
+                               <field index="t3ver_oid" type="integer">0</field>
+                               <field index="hidden" type="integer">0</field>
+                               <field index="CType">textpic</field>
+                               <field index="header">CE 1 first image</field>
+                               <field index="deleted" type="integer">0</field>
+                               <field index="sorting" type="integer">10</field>
+                               <field index="image" type="integer">1</field>
+                       </fieldlist>
+                       <related index="rels" type="array">
+                               <field index="image" type="array">
+                                       <type>db</type>
+                                       <relations index="itemArray" type="array">
+                                               <element index="0" type="array">
+                                                       <id>1</id>
+                                                       <table>sys_file_reference</table>
+                                               </element>
+                                       </relations>
+                               </field>
+                       </related>
+               </tablerow>
+               <tablerow index="tt_content:2" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">2</field>
+                               <field index="pid" type="integer">1</field>
+                               <field index="t3ver_oid" type="integer">0</field>
+                               <field index="hidden" type="integer">0</field>
+                               <field index="CType">textpic</field>
+                               <field index="header">CE 2 second image</field>
+                               <field index="deleted" type="integer">0</field>
+                               <field index="sorting" type="integer">20</field>
+                               <field index="image" type="integer">1</field>
+                       </fieldlist>
+                       <related index="rels" type="array">
+                               <field index="image" type="array">
+                                       <type>db</type>
+                                       <relations index="itemArray" type="array">
+                                               <element index="0" type="array">
+                                                       <id>2</id>
+                                                       <table>sys_file_reference</table>
+                                               </element>
+                                       </relations>
+                               </field>
+                       </related>
+               </tablerow>
+               <tablerow index="tt_content:3" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">3</field>
+                               <field index="pid" type="integer">1</field>
+                               <field index="t3ver_oid" type="integer">0</field>
+                               <field index="hidden" type="integer">0</field>
+                               <field index="CType">textpic</field>
+                               <field index="header">CE 3 second image</field>
+                               <field index="deleted" type="integer">0</field>
+                               <field index="sorting" type="integer">30</field>
+                               <field index="image" type="integer">1</field>
+                       </fieldlist>
+                       <related index="rels" type="array">
+                               <field index="image" type="array">
+                                       <type>db</type>
+                                       <relations index="itemArray" type="array">
+                                               <element index="0" type="array">
+                                                       <id>3</id>
+                                                       <table>sys_file_reference</table>
+                                               </element>
+                                       </relations>
+                               </field>
+                       </related>
+               </tablerow>
+               <tablerow index="sys_file_reference:1" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">1</field>
+                               <field index="pid" type="integer">1</field>
+                               <field index="uid_local" type="integer">1</field>
+                               <field index="uid_foreign" type="integer">1</field>
+                               <field index="tablenames">tt_content</field>
+                               <field index="fieldname">image</field>
+                               <field index="sorting_foreign" type="integer">0</field>
+                               <field index="table_local">sys_file</field>
+                               <field index="title" type="NULL"></field>
+                               <field index="description" type="NULL"></field>
+                               <field index="alternative" type="NULL"></field>
+                               <field index="link"></field>
+                       </fieldlist>
+                       <related index="rels" type="array">
+                               <field index="uid_local" type="array">
+                                       <type>db</type>
+                                       <relations index="itemArray" type="array">
+                                               <element index="0" type="array">
+                                                       <id>1</id>
+                                                       <table>sys_file</table>
+                                               </element>
+                                       </relations>
+                               </field>
+                       </related>
+               </tablerow>
+               <tablerow index="sys_file_reference:2" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">2</field>
+                               <field index="pid" type="integer">1</field>
+                               <field index="uid_local" type="integer">2</field>
+                               <field index="uid_foreign" type="integer">2</field>
+                               <field index="tablenames">tt_content</field>
+                               <field index="fieldname">image</field>
+                               <field index="sorting_foreign" type="integer">0</field>
+                               <field index="table_local">sys_file</field>
+                               <field index="title" type="NULL"></field>
+                               <field index="description" type="NULL"></field>
+                               <field index="alternative" type="NULL"></field>
+                               <field index="link"></field>
+                       </fieldlist>
+                       <related index="rels" type="array">
+                               <field index="uid_local" type="array">
+                                       <type>db</type>
+                                       <relations index="itemArray" type="array">
+                                               <element index="0" type="array">
+                                                       <id>2</id>
+                                                       <table>sys_file</table>
+                                               </element>
+                                       </relations>
+                               </field>
+                       </related>
+               </tablerow>
+               <tablerow index="sys_file_reference:3" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">3</field>
+                               <field index="pid" type="integer">1</field>
+                               <field index="uid_local" type="integer">2</field>
+                               <field index="uid_foreign" type="integer">3</field>
+                               <field index="tablenames">tt_content</field>
+                               <field index="fieldname">image</field>
+                               <field index="sorting_foreign" type="integer">0</field>
+                               <field index="table_local">sys_file</field>
+                               <field index="title" type="NULL"></field>
+                               <field index="description" type="NULL"></field>
+                               <field index="alternative" type="NULL"></field>
+                               <field index="link"></field>
+                       </fieldlist>
+                       <related index="rels" type="array">
+                               <field index="uid_local" type="array">
+                                       <type>db</type>
+                                       <relations index="itemArray" type="array">
+                                               <element index="0" type="array">
+                                                       <id>2</id>
+                                                       <table>sys_file</table>
+                                               </element>
+                                       </relations>
+                               </field>
+                       </related>
+               </tablerow>
+               <tablerow index="sys_file:1" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">1</field>
+                               <field index="pid" type="integer">0</field>
+                               <field index="storage" type="integer">1</field>
+                               <field index="type">2</field>
+                               <field index="metadata" type="integer">0</field>
+                               <field index="identifier">/user_upload/used-1.jpg</field>
+                               <field index="identifier_hash">f90bb9a35622f35b5279195e324eddbaec8164b2</field>
+                               <field index="folder_hash">19669f1e02c2f16705ec7587044c66443be70725</field>
+                               <field index="mime_type">image/jpeg</field>
+                               <field index="name">used-1.jpg</field>
+                               <field index="sha1">da9acdf1e105784a57bbffec9520969578287797</field>
+                               <field index="size" type="integer">7958</field>
+                               <field index="creation_date" type="integer">1389878273</field>
+                               <field index="modification_date" type="integer">1389878273</field>
+                       </fieldlist>
+                       <related index="rels" type="array">
+                               <field index="storage" type="array">
+                                       <type>db</type>
+                                       <relations index="itemArray" type="array">
+                                               <element index="0" type="array">
+                                                       <id>1</id>
+                                                       <table>sys_file_storage</table>
+                                               </element>
+                                       </relations>
+                               </field>
+                       </related>
+               </tablerow>
+               <tablerow index="sys_file:2" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">2</field>
+                               <field index="pid" type="integer">0</field>
+                               <field index="storage" type="integer">1</field>
+                               <field index="type">2</field>
+                               <field index="metadata" type="integer">0</field>
+                               <field index="identifier">/user_upload/used-2.jpg</field>
+                               <field index="identifier_hash">8180e85d25c96697ec9d2004683216831b91ffc1</field>
+                               <field index="folder_hash">19669f1e02c2f16705ec7587044c66443be70725</field>
+                               <field index="extension">jpg</field>
+                               <field index="mime_type">image/jpeg</field>
+                               <field index="name">used-2.jpg</field>
+                               <field index="sha1">c3511df85d21bc578faf71c6a19eeb3ff44af370</field>
+                               <field index="size" type="integer">7425</field>
+                               <field index="creation_date" type="integer">1393432184</field>
+                               <field index="modification_date" type="integer">1393432183</field>
+                       </fieldlist>
+                       <related index="rels" type="array">
+                               <field index="storage" type="array">
+                                       <type>db</type>
+                                       <relations index="itemArray" type="array">
+                                               <element index="0" type="array">
+                                                       <id>1</id>
+                                                       <table>sys_file_storage</table>
+                                               </element>
+                                       </relations>
+                               </field>
+                       </related>
+               </tablerow>
+               <tablerow index="sys_file_storage:1" type="array">
+                       <fieldlist index="data" type="array">
+                               <field index="uid" type="integer">1</field>
+                               <field index="pid" type="integer">0</field>
+                               <field index="name">fileadmin/ (auto-created)</field>
+                               <field index="description" type="NULL"></field>
+                               <field index="driver">Local</field>
+                               <field index="configuration">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;yes&quot; ?&gt;
+&lt;T3FlexForms&gt;
+       &lt;data&gt;
+               &lt;sheet index=&quot;sDEF&quot;&gt;
+                       &lt;language index=&quot;lDEF&quot;&gt;
+                               &lt;field index=&quot;basePath&quot;&gt;
+                                       &lt;value index=&quot;vDEF&quot;&gt;fileadmin/&lt;/value&gt;
+                               &lt;/field&gt;
+                               &lt;field index=&quot;pathType&quot;&gt;
+                                       &lt;value index=&quot;vDEF&quot;&gt;relative&lt;/value&gt;
+                               &lt;/field&gt;
+                               &lt;field index=&quot;caseSensitive&quot;&gt;
+                                       &lt;value index=&quot;vDEF&quot;&gt;1&lt;/value&gt;
+                               &lt;/field&gt;
+                       &lt;/language&gt;
+               &lt;/sheet&gt;
+       &lt;/data&gt;
+&lt;/T3FlexForms&gt;</field>
+                               <field index="is_default" type="integer">0</field>
+                               <field index="is_browsable" type="integer">1</field>
+                               <field index="is_public" type="integer">1</field>
+                               <field index="is_writable" type="integer">1</field>
+                               <field index="is_online" type="integer">1</field>
+                       </fieldlist>
+                       <related index="rels" type="array">
+                               <field index="configuration" type="array">
+                                       <type>flex</type>
+                                       <flexform index="flexFormRels" type="array">
+                                               <db_relations index="db" type="array"></db_relations>
+                                               <file_relations index="file" type="array"></file_relations>
+                                               <softref_relations index="softrefs" type="array"></softref_relations>
+                                       </flexform>
+                               </field>
+                       </related>
+               </tablerow>
+       </records>
+       <files_fal type="array">
+               <file index="4a705ca3ef43b53dc00de861ba2c86af" type="array">
+                       <filesize>7958</filesize>
+                       <filename>used-1.jpg</filename>
+                       <filemtime>1389878273</filemtime>
+                       <content base64="1">
+/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4p
+LSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01T09PT09P
+T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0//wAARCAEsAZADASIA
+AhEBAxEB/8QAGgAAAgMBAQAAAAAAAAAAAAAAAAECBAUDBv/EADsQAAICAgEDAwIEAwYFBAMAAAAB
+AgMEERIFITETQVEiYRQycaGBkcEVI0JSYrEkM0PR8FNyguGSovH/xAAYAQEBAQEBAAAAAAAAAAAA
+AAAAAQIDBP/EACARAQEBAAIDAAMBAQAAAAAAAAABEQIhEjFBAxNRYXH/2gAMAwEAAhEDEQA/APKJ
+bJJGY/xVEVOUuUfgv490boKSIrsNIEMAR0we2bNfMSBPE7Z6+8WBpoYIYQIAGAe4B7DAQD/gACGG
+gKo9gAAgEMAoEMAEMAAQuK3vXckATFaOFVB2SrTg7Fp6ZVlg2xk7J3c1GuUV27vfyaehNJpp+GXR
+k4SyLrMac6+FdUOz3+btohCzjhZlMW1ZGUnr318mvXXGuEYQWoxWkJ1QbbcE21pvXsDWP6cK7HHE
+lqSpVj0/LTLE8m25XSpjCdcIxbjL37bZ2WJi4W71FxSTT9+zOfTcfjgWai16rk0n8ewHazNqoqql
+ZtKxdtI6xuqlGElNamtx7+SpXXZJYauqadbcX7/4fJnzjUo2u7tKFb9Pfs+T8AxvkeSaTTTT8dwW
+3UnHW3Htsyo32V4dcrKmvSs7NPfLu0RGqBXjmUuMHOXCU20oy87+DrfZ6VUrOMpKPdpeQJsQJpxT
+XhoZAAAAADDQUgZIAqLQmiWhaAi0cbqK7lqyKf8A5/8ARY0RaA8zbk1zxuz7/BDpln1Sj7PuTlRi
+8XNNHPp0N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+98TXxJl74ImEA/dgvACAYAwa9gH7/wAQQTB8CGACAloRTCAYIJhAP3AGAAGAgGBTCGCALg0A2AMA
+AgKDQDAgQD9xAwAMAYQDF7gwAMBphAP3ALhAMTIEAAB//9k=
+</content>
+                       <content_sha1>da9acdf1e105784a57bbffec9520969578287797</content_sha1>
+               </file>
+               <file index="23116a2a95820388bb7eede903382d4c" type="array">
+                       <filesize>7425</filesize>
+                       <filename>used-2.jpg</filename>
+                       <filemtime>1393432183</filemtime>
+                       <content base64="1">
+/9j/4AAQSkZJRgABAQEAZABkAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkz
+ODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2Nj
+Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wAARCADIASwDASIA
+AhEBAxEB/8QAGgAAAgMBAQAAAAAAAAAAAAAAAAIDBAUBBv/EADcQAAEEAQIEBAQEBgMAAwAAAAEA
+AgMRBBIhBTFBURMiYXEUMoGRBlKhsSNCwdHh8BUz8UNigv/EABoBAQEBAQEBAQAAAAAAAAAAAAAB
+AgMEBQb/xAAnEQACAgMAAgAGAgMAAAAAAAAAAQIRAxIhBDEFEyJBUWEysSPB8P/aAAwDAQACEQMR
+AD8Ax6XaTUuUvceA5SKTUikBykUmpCAWkUmpFIBaRSakUgFpFJqRSoFpFJqRSA5SKXaRSAWl2l2k
+UgOUil2kUgOUil2l2kAtIpNS5SA5S5SakUgFpFJqRSAWl2l2kUhBaRSakUgFpFJqRSAWkUmpFIBa
+XKT0uUgO0ik1IpQHKRS7S7SAWkUmpFIBaRSakUgOUik1IpCi0ik1IpCC0ik1IpALSKTUikKLSiyZ
+48aLXJ9B3KnpVsvCblNNk6gPIOgKkrrhY1fTuNkxZMYcxwvq29wpqWNFjTYkmsGnj02V8Zzi3UWt
+o+64LOvUj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ycAKYgDdK5vmabKatigAEEJCadzFlMHV0VfKazyyc3MN1aAkew6/EYdwO
+XdZ/EZJy+Nsbae8Vp+qvjUd28j07IfD4oYQ4tc03YQC45eyMCU24dVZBsKs8OA1OokBdjLGx0zau
+iAnc3UFXlgkc3yP0HvVrnxDr51XRdL3OINkDsgOgGgmcKbacEEJi0FtICmZC7kl0g7nmne3Q6q+q
+V1Vz3QoosCuaYLgvVR5JwEA4aNJKpNAeCT3Kvx0diqboi17gdtzSgMMYmGGaN36qIDbIvodlJFjY
+UTw0s3I28TzfohCECXImgDjj48crHUHNDgxxPe1G+HFmLT8K8F+x0DkfWihCAgl4TDrcyKR7dQ5G
+6CP+JndHpjyHD0e86f0QhARDg+QSA5/LbUHWB9DX7p5OFT00RtaKrUS8gH6BCEBIOEzGNwf4DD+Y
+aif1KhGPMxxija1zm8yQ+j7jkhChSaDhma55tkILt7cbr6Ut6DAx4YmtLQ9wG5chCoIJuGYszgAz
+wzzthpNicLGPlsm8bU1o+XT9kIUoWWuJZcuPj6oInyyOOljWi6Pc+iXhuE6FviznXkv3e4716D0Q
+hUhoDshzfJTTXqhCoOM1DmbKcIQgOXdgikOcRy5IQgEL6Gyq5zJZ4gIQNQPetkIQE8RIYRWwHNSx
+bMCEIAkYHsNKs9prb6oQgFDCOlqURkDr9UIQAHFhIdsutn2FirQhCiyvbJGa5qs0n3QhANqTB1IQ
+oDglIOy49+o2eaEKg//Z
+                       </content>
+                       <content_sha1>c3511df85d21bc578faf71c6a19eeb3ff44af370</content_sha1>
+               </file>
+       </files_fal>
+</T3RecordDocument>
index 64552d0..75d8fcc 100644 (file)
@@ -96,4 +96,54 @@ class PagesAndTtContentWithImagesInFilledDatabaseTest extends AbstractImportExpo
 
         $this->assertFileEquals(__DIR__ . '/../Fixtures/Folders/fileadmin/user_upload/typo3_image2.jpg', PATH_site . 'fileadmin/user_upload/typo3_image2.jpg');
     }
+
+    /**
+     * This test checks multiple remapping does not occur - issue #67188
+     * Scenario:
+     * - Have a local sys_file:1 entry to some image
+     * - Have an import file with 3 tt_content, first element pointing to sys_file:1
+     *   image "used-1.jpg" (different from locally existing one), and the other two pointing to
+     *   sys_file:2 "used-2.jpg" (also not existing locally)
+     * Upon import, the following is expected:
+     * - sys_file:1 from import file becomes sys_file:2 locally
+     * - sys_file:2 from import file becomes sys_file:3 locally
+     * - content element:1 should reference sys_file:2
+     * - content element:2 & 3 should reference sys_file:3
+     * The issue from #67188 is that tt_content:1 was first mapped to sys_file:2
+     * and when tt_content:2 and tt_content:3 were processed, tt_content:1 image
+     * reference was mapped a second time to the not correct relation sys_file:3,
+     * ending up in mixed sys_file_reference entries.
+     * This test verifies first content element still points to the image used-1.jpg
+     * while the other two point to point to image used-2.jpg
+     * Note the internal handler mixes up insert orders resulting in former tt_content:1
+     * ending up as tt_content:3 and 2/3 ending up as 2/1 uid-wise ... making this issue
+     * even harder to grasp.
+     *
+     * @test
+     */
+    public function importPagesAndTtContentWithRemappingNewSysFileEntries()
+    {
+        $subject = GeneralUtility::makeInstance(Import::class);
+        $subject->init();
+
+        // Have a single sys_file entry with uid 1
+        $this->importDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_single_image.xml');
+        $this->importDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_storage.xml');
+
+        // Import file with sys_file:1 and sys_file:2, where sys_file:1 has one connected
+        // content element, and sys_file:2 has two connected content elements.
+        $subject->loadFile(
+            __DIR__ . '/../Fixtures/XmlImports/pages-and-ttcontent-with-two-images.xml',
+            1
+        );
+        $subject->importData(0);
+
+        $this->testFilesToDelete[] = PATH_site . 'fileadmin/user_upload/typo3_image2.jpg';
+        $this->testFilesToDelete[] = PATH_site . 'fileadmin/user_upload/used-1.jpg';
+        $this->testFilesToDelete[] = PATH_site . 'fileadmin/user_upload/used-2.jpg';
+
+        // Expect mapping is updated: one content element should still reference new sys_file:2,
+        // two others should reference new sys_file:3
+        $this->assertCSVDataSet('EXT:impexp/Tests/Functional/Fixtures/DatabaseAssertions/importPagesAndTtContentWithRemappingNewSysFileEntries.csv');
+    }
 }