[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
Showing
- typo3/sysext/extensionmanager/Classes/Utility/Connection/TerUtility.php 2 additions, 2 deletions...xtensionmanager/Classes/Utility/Connection/TerUtility.php
- typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php 5 additions, 2 deletions.../extensionmanager/Classes/Utility/FileHandlingUtility.php
- typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php 93 additions, 2 deletions...ionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php
Please register or sign in to comment