Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I see that system_install() automatically installs comments and taxonomy. I haven't checked comments, but I have looked at taxonomy and it has no uninstall code. These functions need to be in their respective modules. And if a module is "optional" why is it enabled by default (e.g. taxonomy)?
Comments
Comment #1
Damien Tournoud CreditAttribution: Damien Tournoud commentedIndeed, system_install() is a big mess that needs to be refactored.
Comment #2
NancyDruThis is fixed in 7.x. I copied the install and uninstall code from 7.x into 6.x and that worked, except that the default profile keeps trying to turn on Taxonomy again. This breaks Simpletest.
Comment #3
rootworkThere's some explanation in this thread: #360104: Allow taxonomy to be uninstalled - move install/uninstall from system.install to taxonomy.install
Essentially: This won't be fixed in D6 because modules in D6 assume that taxonomy and comments are enabled, so backporting the fix from D7 would cause things to break.
Comment #4
NancyDruIMHO, anyone that requires either of those (or color, etc) and does not have a dependency coded in .info deserves to be broken...
Comment #5
NancyDruThis is not fixed in D7 either. There are two profiles in D7, each enables extra modules:
Okay, I could argue dblog so that there is some kind of logging available for getting the site started (install, update, simpletest).
"Block" was moved from required to optional - let's make it optional...
Comment #6
stephencamilo CreditAttribution: stephencamilo as a volunteer commentedComment #7
hestenetReset issue status.