Closed (won't fix)
Project:
Troll
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2010 at 23:49 UTC
Updated:
16 Dec 2015 at 14:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
deekayen commentedI can't think of what the case would be, but what if instead of checking the cache state, you just set a static variable in the new function. Still call the function in both boot and init, but check against whether or not the static bool has been set instead...
Comment #2
bdurbin commentedSure thing. Re-rolled.
Comment #3
newmediaist commentedFYI - Even after installing the patch I still get the message "The following enabled modules are incompatible with aggressive mode caching and will not function properly: troll."
My thoughts are this has something to do with Troll only changing it's behaviour once aggresive cache mode is enabled - maybe not a bug?
Comment #4
bdurbin commentedYou are correct. The list of incompatible modules will include any that implement hook_boot or hook_exit. Since even with this patch Troll still implements hook_boot, even though it correctly works around aggressive caching mode, it will still show up on the list.
Comment #5
mgiffordIf this is still an issue, please re-open and upgrade version to D7. Drupal 6 is no longer being maintained.