radioactivity_node incompatible with page caching
skiminki - August 28, 2008 - 18:30
| Project: | Radioactivity |
| Version: | 5.x-1.2-rc1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Radioactivity_node-plugin is incompatible with page caching. You'll see error like 'Call to undefined function radioactivity_add_energy()' rendered to the bottom of the page, when page cache is turned on and the page is retrieved from the page cache.

#1
This is because the following. When the page is retrieved from the cache, we don't do full drupal bootstrap. In fact, only modules with 'bootstrap' set to 1 are loaded. In essence, radioactivity_node has bootstrap 1, but radioactivity (which provides radioactivity_add_energy) has bootstrap 0. In addition, the core node module does not have bootstrap set to 1, so node_get_types() won't be available either.
#2
Committed: http://drupal.org/cvs?commit=136716
#3
Automatically closed -- issue fixed for two weeks with no activity.