#276615: If users goes to admin/build/themes and does not submit, anon users see cached pages with references to non-existent CSS is in 6.14
I should use http://api.drupal.org/api/constant/VERSION/6 to control this code, line 280 boost_form_alter() boost.module
// Alter Drupal's theme build form in order to ensure that
// the static page cache gets wiped if the administrator decides to
// change theme
case 'system_themes_form':
module_load_include('inc', 'boost', 'boost.admin');
$form['#submit'][] = 'boost_admin_themes_submit';
// Added below due to this bug: #276615
if (variable_get('preprocess_css', FALSE)==TRUE) {
if (boost_cache_clear_all()) {
drupal_set_message(t('Boost: Static page cache cleared. See <a href="http://drupal.org/node/276615">http://drupal.org/node/276615</a> for reason why (core bug).'), 'warning');
}
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | boost-579668.patch | 1.24 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 commentedComment #2
dbeall commentednot sure how to test this, have added patch.
Comment #3
mikeytown2 commentedTest would be in 6.13 and below, if
Optimize CSS files:is enabled and you visit the themes page, boost would clear the cache. With 6.14 they fixed the bug and so boost no longer has to clear the cache when VIEWING the themes page.admin/build/themes
Comment #4
dbeall commentedTest with WAMP D6.13 on XP.
Devel, 150 nodes with URL aliases, story,page.....
Boost with all patches i can find today.
Boost all well as expected, caches, preemptive cache on cron.
Visit (admin/build/theme), recieve notice:
Boost: Static page cache cleared. See http://drupal.org/node/276615 for reason why (core bug that is fixed in 6.14+).
Comment #5
dbeall commentedadd, no notice found on D614.. when visit (admin/build/theme)
Comment #6
mikeytown2 commentedComment #7
mikeytown2 commentedcommitted