Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2008 at 16:16 UTC
Updated:
20 Feb 2009 at 14:00 UTC
Like stated in the documentation:
Return value
This varies depending on the operation.The "presave", "insert", "update", "delete", "print" and "view" operations have no return value.
The "load" operation should return an array containing pairs of fields => values to be merged into the node object.
That is not what the module does, which uses code like:
case 'load':
$node->nodewords = _nodewords_load('node', $node->nid);
break;
Comments
Comment #1
vladimir.dolgopolov commentedbtw, path.module (a Core module!) has the same behaviour:
Comment #2
avpadernoYes, but it's a core module; if there would be a change on the way that hook is handled, the core module would be updated as well.
That is different from the case where a third party module has code that could be incompatible with future versions of Drupal; as the author of the module doesn't make new versions of the Drupal core, there would be some incompatibilities with new versions of Drupal. That is what the Drupal documentation warns about.
Comment #3
Robrecht Jacques commentedFixed in CVS. Thanks!