Closed (fixed)
Project:
Features
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2013 at 05:44 UTC
Updated:
6 Jul 2015 at 08:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Angry Dan commentedThis patch is out of date and needs calls to drupal_static() to be by reference:
Should be (note the &):
But definitely +1 for this - features is a pig for memory, so moving to the static caching system is a good step away to being better able to manage memory usage (via resets).
Comment #2
undertext commentedComment #3
undertext commentedComment #4
bojanz commentedWe have this running in production for months now.
Comment #5
hefox commentedthanks
Comment #7
taran2lDon't see this code in the features codebase. Has this patch been committed at all?
Issue #2143765: features_modules_enabled() doesn't work when features_load_feature cache doesn't include the feature got me here. Have the same issue with 7.x-2.2
Comment #8
taran2lSeems like it was closed before actual commit was done. Reverting status back to "Reviewed & tested by the community"
Comment #11
joelpittetIt looks like this may need a re-roll as well.
Comment #12
lsolesen commented@joelpittet and @Taran2L I am pretty sure that this has been committed. I tried a reroll just now and ended up with an empty diff. So setting back to Fixed. If you disagree, please reopen again.
Comment #13
joelpittet@lsolesen I think you are correct, just the committed code is just slightly different than the patch for the resetting approach and no commit hash showed up in the issue queue.
Comment #15
taran2lHi @all,
Sorry for the confusion: I've had a false impression, that my issue is cache-related.
Actually, it's related to the fact, that Features module fails to include files when module(s) are being enabled.
See more #2143765-6: features_modules_enabled() doesn't work when features_load_feature cache doesn't include the feature