#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');
        }
      }
CommentFileSizeAuthor
#1 boost-579668.patch1.24 KBmikeytown2

Comments

mikeytown2’s picture

Status: Active » Needs review
StatusFileSize
new1.24 KB
dbeall’s picture

not sure how to test this, have added patch.

mikeytown2’s picture

Test 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

dbeall’s picture

Test 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+).

dbeall’s picture

add, no notice found on D614.. when visit (admin/build/theme)

mikeytown2’s picture

Status: Needs review » Reviewed & tested by the community
mikeytown2’s picture

Status: Reviewed & tested by the community » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.