Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2011 at 13:02 UTC
Updated:
2 Dec 2011 at 19:46 UTC
We had this problem after disable Taxonomy Access Module in our Sites, every node edit thrown a "function not found".
The Problem is, that in taxonomy_options_list() the function saved in the $field['settings']['options_list_callback'] is not checked if it exists.
The attached patch adds an additional check with function_exists().
Of course the original problem comes from Taxonomy Access Module which doesn't removes this setting from the DB when disabled.
But probably Core should also have a check for this.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy_options_list-check-function_exists.patch | 796 bytes | schnitzel |
Comments
Comment #1
xjmThanks for the report and patch! This is a duplicate of #1281732: Fatal error when taxonomy_options_list() tries to call an undefined callback function.