If you choose to uninstall a module, it leaves the files behind, despite checking the "Remove Files" checkbox. It also doesn't display the module version.
List the steps to reproduce the behavior:
The module is uninstalled, but the uninstall view didn't know the module number, and the files in the respective DesktopModules folder are not deleted as expected. No errors are logged. The SQL uninstall script is run and the bin files are both executed as expected.
The DesktopModules folder should also have been cleared of the files that need to be deleted, if the checkbox was checked.
Similar problem I've had with my themes (installed as extensions), however the only files that are remaining are skin files.
This will always be true of themes that aren't correctly installed and upgraded over time. Other extensions keep a manifest and log of the files that are part of the installation (except anything that might be FTP-d at some point).
In the case of themes, some people exclusively use FTP for all or part of the process, so DNN will never be aware of those changes. Thus, the experience you've had. :(
I can reproduce the issue in Dnn 9.4.0 RC with the survey core module.
Additional info:
The files in the root module folder do get deleted but not the subfolders and not the root folder
This may be resolved by https://github.com/dnnsoftware/Dnn.Platform/pull/2950/files just noting it here is someone has time to test and report back, this issue could be closed.
@hismightiness @pjones235 - is this still a valid issue in 9.6.1?
@david-poindexter I can no longer reproduce using the same Survey module in Dnn 9.6.1
I haven't tested this since creating the issue.
Okay, thanks @valadas and @hismightiness - it seems we can go ahead and close this issue, but if it is determined to be an issue, we can re-open.