By updating Panels allowed content settings or Panelizer settings I get no changes on IPE.
This happens because of ctools object cache which is cleaned only on cron run and it cleans entries older than 7 days. So we should wait 7 days to get it applied.
function ctools_object_cache_cron() {
if (variable_get('ctools_last_cron', 0) < time() - 86400) {
variable_set('ctools_last_cron', time());
ctools_include('object-cache');
ctools_object_cache_clean();
}
}
function ctools_object_cache_clean($age = NULL) {
if (empty($age)) {
$age = 86400 * 7; // 7 days
}
db_delete('ctools_object_cache')
->condition('updated', REQUEST_TIME - $age, '<')
->execute();
}
Forms:
Administration » Structure » Panels » Settings » Panels » Panel pages
Administration » Configuration » Content authoring » Panelizer
Comments
Comment #1
alex.scutaru commentedHere is an attached patch.
Comment #2
alex.scutaru commentedComment #3
merlinofchaos commentedThis patch could accidentally discard in-process un-saved changes, and is therefore dangerous.
The fact is, if you make changes to parts of the system while someone has unsaved changes to a panel, then those changes will not appear until they either save or cancel their changes. That's just an issue with the system design; those things are cached for performance reasons, and that's a downside to that caching.
Comment #3.0
merlinofchaos commentedadded more details