Community
Participate
Working Groups
Build Identifier: In case of undoing an unzip action or in case of uninstalling an IU that used unzip not all the created directories are removed. This is due to the fact that cleanupUnzip deletes the directories in the same order they were processed. The order of processing is from root to leafs (leafs dirs/files). This means that cleanup will try to remove first parent directories, fact that will fail as subdirectories are not yet removed. Reproducible: Always
Created attachment 163780 [details] Proposed patch & unit tests The patch sorts the directories by path (canonical), where the longest paths are processed first. This ensures that if a folder and subfolder of it are to be removed the subfolder is removed first.
Alin, could you please attach the nestedFolder.zip file that you use in the tests.
Created attachment 163788 [details] Zip used in tests I attached the zip.
Fix released in HEAD.