[BUGFIX] Clean up inconsistent data from import 04/46004/2
authorBernhard Kraft <kraft@webconsulting.at>
Sat, 16 Jan 2016 09:45:59 +0000 (09:45 +0000)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 16 Jan 2016 12:11:33 +0000 (13:11 +0100)
commite40964440e65e4d375a01849094d8ef395897ceb
tree3dd7b9a939052595c04f224527fdb7946a237c15
parentbe544517c906ebcf1b5ce0a12bbe4253cd27ff5e
[BUGFIX] Clean up inconsistent data from import

When importing a T3D or XML file the loaded data has to get cleansed
first. The "extensionDependencies" array for example may contain an
empty string which will cause a non-correct warning message in the
importers warning tab.

A new method "cleanupImportData" takes care to bring import data into
an acceptable format.

Resolves: #72761
Releases: master, 7.6
Change-Id: I79dcccb92f453902b4b83be243d2f89af711246c
Reviewed-on: https://review.typo3.org/45993
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 6c9573c7e90bfb9392e69ac849eab4c1d66d5597)
Reviewed-on: https://review.typo3.org/46004
typo3/sysext/impexp/Classes/Import.php
typo3/sysext/impexp/Classes/ImportExport.php