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.

CommentFileSizeAuthor
#3 required_node.patch359 bytesmerlinofchaos
#1 system_7.patch661 bytesUwe Hermann
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Uwe Hermann’s picture

Version: 4.6.0 » x.y.z
Assigned: Unassigned » Uwe Hermann
Status: Active » Needs review
FileSize
661 bytes

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

merlinofchaos’s picture

Simple patch, works fine for me. +1

merlinofchaos’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
359 bytes

Rerolled the patch against current CVS. This really ought to go in.

chx’s picture

Status: Reviewed & tested by the community » Needs review

Not so fast. Let's see what breaks. Is this an absolute necessity?

Wesley Tanaka’s picture

perhaps a red herring:

i don't fully like nodes, primarily because if you don't assign a url alias for every single one, they all show up as the vague url 'node/12345', whatever type they actually are. they also require all the content that's represented as nodes has a row in the {node} table, which could be a lot of rows, even if they were split among many different types. if i weren't using the drupal forums, (and had i understood them better before starting to build some of my custom modules) i might not even use nodes on my site.

i think it's an attractive part of drupal that you could turn that module off if you wanted to. makes it feel more modular.

Robrecht Jacques’s picture

Status: Needs review » Fixed

node.module has been made required in head/5.0.

Setting as fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)