[BUGFIX] Fix impexp with images in RTE and links to files 05/28105/6
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Thu, 27 Feb 2014 18:32:55 +0000 (19:32 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 19 Mar 2014 09:44:53 +0000 (10:44 +0100)
commit7be59356441866d54b3eea5511cec227a8e6464f
tree824a288a9a04f4aff8e28788ecbf992ec66c6606
parentf62864d33005d7ed456819d016e3e3b2bedeb70a
[BUGFIX] Fix impexp with images in RTE and links to files

This patch fixes the import and export of RTE contents
including images and links to files as well as softreference
links to files (file:{uid}) and adds functional tests
for this use cases.

Resolves: #56089
Resolves: #56285
Related: #56286
Releases: 6.2
Change-Id: I29312b304d265581bf9f35bdc2692a19d2df5a93
Reviewed-on: https://review.typo3.org/28105
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
20 files changed:
typo3/sysext/impexp/Classes/ImportExport.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImages/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithRteImagesAndFileLink/ExportTest.php [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Database/sys_file.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/Database/tt_content-with-image.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/Database/tt_content-with-rte-image-n-file-link.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/_processed_/csm_typo3_image2_5c2670fd59.jpg [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload/typo3_image3.jpg [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-rte-image-n-file-link.xml [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecords/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContent/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Assertion/importPagesAndRelatedTtContentWithDifferentImageToExistingData.csv
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Assertion/importPagesAndRelatedTtContentWithImagesOnCaseInsensitiveFilesystems.csv
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Assertion/importPagesAndRelatedTtContentWithImagesOnCaseSensitiveFilesystems.csv
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Assertion/importPagesAndRelatedTtContentWithSameImageToExistingData.csv
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportInFilledDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLink/DataSet/Assertion/importPagesAndRelatedTtContentWithRteImagesAndFileLink.csv [new file with mode: 0644]
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLink/ImportInEmptyDatabaseTest.php [new file with mode: 0644]