[FOLLOWUP][BUGFIX] Empty array not encoded as empty XML tag
Use empty() to check for empty array. Also fix the failing functional tests by adjusting the fixtures accordingly Change-Id: I8d910f90f45e052afef05be7171116dfaf1166bf Resolves: #71394 Releases: 6.2, master Reviewed-on: https://review.typo3.org/44600 Reviewed-by:Andreas Wolf <andreas.wolf@typo3.org> Tested-by:
Andreas Wolf <andreas.wolf@typo3.org>
Showing
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-but-images-not-included.xml 10 additions, 20 deletions...-file-and-file_reference-item-but-images-not-included.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-in-ff.xml 10 additions, 20 deletions...rtXml/impexp-group-file-and-file_reference-item-in-ff.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item.xml 10 additions, 20 deletions...rtExportXml/impexp-group-file-and-file_reference-item.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/irre-records.xml 71 additions, 142 deletions...ests/Functional/Fixtures/ImportExportXml/irre-records.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image-but-not-included.xml 18 additions, 36 deletions...rtXml/pages-and-ttcontent-with-image-but-not-included.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image.xml 18 additions, 36 deletions...xtures/ImportExportXml/pages-and-ttcontent-with-image.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-rte-image-n-file-link.xml 14 additions, 28 deletions...ortXml/pages-and-ttcontent-with-rte-image-n-file-link.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent.xml 12 additions, 24 deletions...nctional/Fixtures/ImportExportXml/pages-and-ttcontent.xml
- typo3/sysext/impexp/Tests/Functional/Import/GroupFileAndFileReferenceItem/ImportExportXml/impexp-group-file-and-file_reference-item-on-pid-zero.xml 7 additions, 14 deletions...impexp-group-file-and-file_reference-item-on-pid-zero.xml
- typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-existing-different-image.xml 12 additions, 24 deletions...Xml/pages-and-ttcontent-with-existing-different-image.xml
- typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-existing-same-image.xml 12 additions, 24 deletions...xportXml/pages-and-ttcontent-with-existing-same-image.xml
- typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-with-forced-uids.xml 11 additions, 22 deletions...rtXml/pages-and-ttcontent-with-image-with-forced-uids.xml
- typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-with-spaces-in-path.xml 12 additions, 24 deletions...ml/pages-and-ttcontent-with-image-with-spaces-in-path.xml
- typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-without-storage.xml 14 additions, 28 deletions...ortXml/pages-and-ttcontent-with-image-without-storage.xml
- typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/GroupFileAndFileReferenceItem/ImportExportXml/impexp-group-file-and-file_reference-item.xml 5 additions, 10 deletions...rtExportXml/impexp-group-file-and-file_reference-item.xml
- typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/GroupFileAndFileReferenceItemInFlexForm/ImportExportXml/impexp-group-file-and-file_reference-item-in-ff.xml 4 additions, 8 deletions...rtXml/impexp-group-file-and-file_reference-item-in-ff.xml
- typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContent/ImportExportXml/pages-and-ttcontent.xml 5 additions, 10 deletions...PagesAndTtContent/ImportExportXml/pages-and-ttcontent.xml
- typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContentUploads/ImportExportXml/pages-and-ttcontent-uploads.xml 5 additions, 10 deletions...ntUploads/ImportExportXml/pages-and-ttcontent-uploads.xml
- typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-images.xml 4 additions, 8 deletions...mages/ImportExportXml/pages-and-ttcontent-with-images.xml
Please register or sign in to comment