[drupal-devel] [bug] node.module can be disabled; but the server breaks if this happens

Uwe Hermann drupal-devel at drupal.org
Sun Aug 21 12:42:41 UTC 2005


Issue status update for 
http://drupal.org/node/28827
Post a follow up: 
http://drupal.org/project/comments/add/28827

 Project:      Drupal
-Version:      4.6.0
+Version:      cvs
 Component:    node.module
 Category:     bug reports
 Priority:     normal
-Assigned to:  Anonymous
+Assigned to:  Uwe Hermann
 Reported by:  merlinofchaos
 Updated by:   Uwe Hermann
-Status:       active
+Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/system_7.patch (661 bytes)

I'd say merlinofchaos is right. Here's a patch.




Uwe Hermann



Previous comments:
------------------------------------------------------------------------

Sat, 13 Aug 2005 22:53:41 +0000 : merlinofchaos

node.module is a critical module, because everything is based on nodes.
I'd even consider saying that the module is really part of the very
core of what makes Drupal Drupal -- since without nodes, there is very
little content.


This module can be disabled in the modules. But a LOT of modules use
node_ functions -- such as node_load() -- without checking to see if
the module is active. If one of these modules is enabled, and
node.module is disabled, all pages will stop on a PHP error.


I think the node module should be set to required.







More information about the drupal-devel mailing list