Will modules can be uninstall in Orchard next version?

Topics: Core, Writing modules
Nov 25, 2014 at 4:17 AM
Now, we can install many modules. But we can't uninstall anyone. Some manual uninstall process is very complicated.

I think, if there's a uninstall interface, and every module implement the uninstall interface for clear the tables and records it created, It is easy to solve the problem.

What's the problem I neglect it?
Coordinator
Dec 10, 2014 at 2:47 AM
Delete the folder. You should not delete tables. The data shouldn't do anything if the module is gone.
Dec 15, 2014 at 3:19 AM
Edited Dec 15, 2014 at 3:22 AM
BertrandLeRoy wrote:
Delete the folder. You should not delete tables. The data shouldn't do anything if the module is gone.
Thanks BertrandLeRoy.
But when I test many modules, the database will be very redundant.
Some tables are only used by a module. If I uninstall the module, I think these tables should be delete too.
Developer
Dec 15, 2014 at 9:17 AM
When trying out modules, it's best to try them in a separate installation or a copy of your installation. That way you can simply blow away everything when you're done. Deleting tables when uninstalling a module is a destructive operation, and is best done explicitly.