[FOLLOWUP][BUGFIX] Clean up inconsistent data from import 13/46013/2
authorBernhard Kraft <kraft@webconsulting.at>
Sat, 16 Jan 2016 13:37:57 +0000 (13:37 +0000)
committerGeorg Ringer <georg.ringer@gmail.com>
Sat, 16 Jan 2016 13:55:10 +0000 (14:55 +0100)
commit832a0608210433e077a2bbc7e2ce76da0afc19a5
tree2103781839b110aecc95f4628e0182766729536a
parent5b8609ff6f6cd0fb5b150f468a484f02e3da51c3
[FOLLOWUP][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: I314d5702bf07bb57e723d3b11f5e848cba1c7808
Reviewed-on: https://review.typo3.org/46013
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/impexp/Classes/Import.php