[drupal-devel] [bug] Nodeapi settings hook is broken
chx
drupal-devel at drupal.org
Tue Mar 1 22:59:13 UTC 2005
Issue status update for http://drupal.org/node/18216
Project: Drupal
Version: cvs
Component: node.module
Category: bug reports
Priority: critical
Assigned to: chx
Reported by: chx
Updated by: chx
Status: patch
Attachment: http://drupal.org/files/issues/nodeapi_settings.patch (2.49 KB)
I have noticed this morning that hook_nodeapi is no longer called by
$node as first argument as first setting, but only $type. I documented
this in the handbook, 'cos I have thought this is well thought out
decision which is executed through the core. But only node.module is
updated, comment and upload is broken and every node module out there.
I know we do not have backwards compatibility. I think it would be
better to introduce a new hook for this. But, as we are in feature
freeze, I doubt any of this shall happen. Instead, for now let's change
the behaviour back.
chx
More information about the drupal-devel
mailing list