Module name causes function in taxonomy.module to be incorrectly run on cron

criznach - October 25, 2008 - 04:27
Project:Taxonomy Node
Version:5.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Because the module name is taxonomy_node, every time cron is run, Drupal attempts to execute the core hook function "taxonomy_node_update_index", which happens to be a real function in taxonomy.module. It gets called with no argument, which triggers an error.

I'm not sure what a good solution would be, short of renaming the module.

#1

hanoii - October 27, 2008 - 15:27
Status:active» fixed

Nice catch. Indeed the only solution I found as well was to rename the module's name to taxonomynode.*.

There's code in the .install file to upgrade settings and table information from old table name. Please try new version (1.4) and let me know how it goes.

#2

Anonymous (not verified) - November 10, 2008 - 15:31
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.