[BUGFIX] Fix .zip-export on windows and add unit test 61/18961/5
authorJost Baron <jost.baron@gmx.de>
Fri, 15 Mar 2013 20:06:21 +0000 (21:06 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 20 Mar 2013 20:29:17 +0000 (21:29 +0100)
commit75fb661f21b4b17b31205afa855f386b91f5e8ef
treeece1d2ada62b0ec830e402c4cea2a8b644c64532
parente68a0d492c3d6ca0e46dc802d993f139dd24c34b
[BUGFIX] Fix .zip-export on windows and add unit test

On Windows servers (xampp), the .zip-export of extensions did not
work because \ZipArchive::addFile can't add directories on Windows.

Added a unit test for the export function.

Fixes: #45140
Releases: 6.0, 6.1
Change-Id: If248bf031d3d7b621971de609b86eedc0ee05a64
Reviewed-on: https://review.typo3.org/18961
Reviewed-by: Jost Baron
Tested-by: Jost Baron
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php