Closed (fixed)
Project:
Bean (for Drupal 7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2012 at 14:44 UTC
Updated:
22 Oct 2012 at 22:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
jonhattanSeveral changes proposed in this patch:
* hook_bean_cache_clear(), invoked from bean_reset() so each module is responsible to clean its own caches.
* adjusted ctools caches needed to be cleared.
* provide bean_type_features_revert() to have the chance to bean_reset() after revert.
* Removed bean_admin_ui_get_types() and call directly to ctools_export_load_object() since it already caches.
Comment #2
jonhattanComment #3
jonhattanneeded a call to
ctools_include('export').note on this:
I actually use this patch from a feature in install profile.
Comment #4
indytechcook commentedThanks jonhattan. Good to see that you are working on features, it's not something that I use.
Most of this looks good. I do want to keep bean_admin_ui_get_types() as removing it would be an API change and that's something I'd like to avoid since were in a RC. Removing the extra layer of caching is a good idea though.
Keep bean_admin_ui_get_types()
Keep but get rid of extra caching layer.
This looks like it's part of the features revert patch.
Comment #5
indytechcook commentedThanks. http://drupal.org/commitlog/commit/22232/cd6155f5b7ed7e4d0a6b6c579b3f6a1...