-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subfolders for extentions skipped to delete. #2943
Comments
This is partially b y design, if the manifest doesn't list a file it isn't actually going to be deleted as part of the process. |
these files are in manifest. I've already created a fix - creating PR now. The problem - subfolders in manifest contain other slash, so File.Exists returns false |
I can reproduce this issue in 9.4.0 RC. When files are zipped in a manifest like Resources.zip, then the installer generates a Resources.zip.manifest file to keep track of what was in the original zip in order to be able to later remove those files when uninstalling. So this issue appears to be with that list of files. The uninstaller probably splits the parts on \ to recursivelly delete the file, then the subsubfolder then the subfolder then the folder, etc. And my guess is that those parts keep the \ in for the folder name. Anyway I tested the proposed PR it fixes the issue and does not look to me like any breaking change. But waiting on @SergeyDryomin to see if we can get this resubmitted targeting release/9.4.x instead. |
Closing since PR got merged |
Description of bug
Subfolders for extentions skipped to delete.
Steps to reproduce
List the steps to reproduce the behavior:
Current result
Subfolders into DnnBootster folder ("C:\dnndev.me\Portals_default\Skins\DnnBootster") are not deleted. It also blocks to delete Theme from Extensions
Expected result
Subfolders into DnnBootster folder ("C:\dnndev.me\Portals_default\Skins\DnnBootster") should be deleted . Theme should be deleted in Themes after page refreshed
Video to reproduce
https://drive.google.com/file/d/1JNjE7kGKL-GGEVqaq1j2qC649lqWRDlD/view?usp=sharing
Affected version
Affected browser
The text was updated successfully, but these errors were encountered: