[BUGFIX] Fix warning during extension installation 31/28731/3
authorHelmut Hummel <helmut.hummel@typo3.org>
Mon, 24 Mar 2014 23:48:26 +0000 (00:48 +0100)
committerErnesto Baschny <ernst@cron-it.de>
Tue, 25 Mar 2014 01:00:05 +0000 (02:00 +0100)
commit6bf26d966c8609aeae409102cea7c77117c582f8
tree3eab5a9c7012b7b384332fc867a214652e340d32
parent66f13afe1dd16c9db0482ac92992e60788fd66b8
[BUGFIX] Fix warning during extension installation

During unpacking of an extension in the installation
process it can happen that the extension data
contains folders in the file list.

These folders need to be removed from the list
in order to avoid warnings when trying to write
directories as files.

Also remove duplicates from folders before
creating them.

Besides fix some (non related) comparisons to
strict comparisons on the go.

Resolves: #57261
Releases: 6.2
Change-Id: Ib6821a0a438ebc9441b8fa2ee3fbd7869f23ec7f
Reviewed-on: https://review.typo3.org/28731
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
typo3/sysext/extensionmanager/Classes/Utility/Connection/TerUtility.php
typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php