[BUGFIX] Fix import of type group internal_type file_reference 21/28021/6
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Thu, 27 Feb 2014 18:31:39 +0000 (19:31 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Mar 2014 17:03:55 +0000 (18:03 +0100)
commite3c1e9a4f7d9dd6e0fbc0ce1540a1fd761469ea2
treeb9f97c1a64205fea74840dbfce1a769fec50f06c
parentaeba4803da16062f0489c659e216f43d2b81ec33
[BUGFIX] Fix import of type group internal_type file_reference

This patch fixes the import of fields type "group" "internal_type"
"file_reference" and adds functional tests for exporting and
importing records with fields of type "group" "internal_type"
"file" and "file_reference", the types for file handling before
introducing the File Abstraction Layer.

Resolves: #56516
Resolves: #56071
Releases: 6.2
Change-Id: I4298f27ee77a89230188aa0df1b187429d555188
Reviewed-on: https://review.typo3.org/28021
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
19 files changed:
typo3/sysext/impexp/Classes/ImportExport.php
typo3/sysext/impexp/Tests/Functional/Export/AbstractExportTestCase.php
typo3/sysext/impexp/Tests/Functional/Export/GroupFileAndFileReferenceItem/ExportTest.php [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Database/sys_file.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/Database/tx_impexpgroupfiles_item.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/Configuration/TCA/tx_impexpgroupfiles_item.php [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/Resources/Private/Language/locallang_db.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/Resources/Public/Icons/icon_tx_impextgroupfiles_item.gif [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/ext_emconf.php [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/ext_icon.gif [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/ext_tables.php [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/ext_tables.sql [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload/typo3_image5.jpg [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/uploads/tx_impexpgroupfiles/typo3_image4.jpg [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Import/GroupFileAndFileReferenceItem/DataSet/Assertion/importGroupFileAndFileReferenceItem.csv [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Import/GroupFileAndFileReferenceItem/ImportInEmptyDatabaseTest.php [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Assertion/importPagesAndRelatedTtContentWithDifferentImageToExistingData.csv
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Assertion/importPagesAndRelatedTtContentWithSameImageToExistingData.csv