[BUGFIX] Fix import for fields of type input with link wizard
Fields of type import and link wizard could also contain a path to a local file in addition to a direct file reference (file:42). The refindex correctly analyse this relation and saves a db relation to the uid of the sys_file records. On imports this is not correct resolved back, but a value "sys_file_{uid}" is saved. In addition this patch fixes also a redundant inclusion of files stored in fileadmin for such a field type, because of having a sys_file db relation and a softreference. Resolves: #58843 Releases: master, 6.2 Change-Id: I32bb0e82212295f71c22dfa4935d7d940eb3c95e Reviewed-on: http://review.typo3.org/30171 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/impexp/Classes/ImportExport.php 51 additions, 0 deletionstypo3/sysext/impexp/Classes/ImportExport.php
- typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContent/ExportTest.php 36 additions, 2 deletions.../Tests/Functional/Export/PagesAndTtContent/ExportTest.php
- typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContent/Fixtures/Database/sys_file.xml 19 additions, 0 deletions...l/Export/PagesAndTtContent/Fixtures/Database/sys_file.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/Database/tt_content.xml 11 additions, 0 deletions.../impexp/Tests/Functional/Fixtures/Database/tt_content.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/template_extension/Resources/Public/Templates/Empty.html 7 additions, 0 deletions.../template_extension/Resources/Public/Templates/Empty.html
- typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/template_extension/ext_emconf.php 38 additions, 0 deletions...nal/Fixtures/Extensions/template_extension/ext_emconf.php
- typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/template_extension/ext_icon.gif 0 additions, 0 deletions...ional/Fixtures/Extensions/template_extension/ext_icon.gif
- typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent.xml 281 additions, 1 deletion...nctional/Fixtures/ImportExportXml/pages-and-ttcontent.xml
- typo3/sysext/impexp/Tests/Functional/Import/GroupFileAndFileReferenceItem/ImportInEmptyDatabaseTest.php 2 additions, 1 deletion...oupFileAndFileReferenceItem/ImportInEmptyDatabaseTest.php
- typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContent/DataSet/Assertion/importPagesAndRelatedTtContent.csv 12 additions, 0 deletions...tent/DataSet/Assertion/importPagesAndRelatedTtContent.csv
- typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContent/DataSet/Assertion/importSimplePagesAndRelatedTtContent.csv 0 additions, 7 deletions...ataSet/Assertion/importSimplePagesAndRelatedTtContent.csv
- typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContent/ImportInEmptyDatabaseTest.php 6 additions, 3 deletions...al/Import/PagesAndTtContent/ImportInEmptyDatabaseTest.php
Please register or sign in to comment