[BUGFIX] Handle symlink on extension update
If an extension is updated and the extension in the file system is a symlink to a different directory, all target directory contents is removed and the update fails. Introduce a check for symlink and just remove the symlink in this case. Resolves: #46158 Releases: 6.1, 6.0 Change-Id: I112ae7192fb0edf77ebd703a61804dc09ca506a4 Reviewed-on: https://review.typo3.org/18826 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
Showing
- typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php 7 additions, 2 deletions.../extensionmanager/Classes/Utility/FileHandlingUtility.php
- typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php 49 additions, 0 deletions...ionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php
Please register or sign in to comment