CRM-7099 Drupal's Performance "Optimize Javascript Files" breaks CiviCRM Admin menu

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.beta
    • Fix Version/s: 3.3.beta
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Turning on this "Optimize Javascript Files" under Performance breaks the black CiviCRM Admin menu. Turning 'optimize' off immediately fixes the civiCRM menu.

      I am not totally certain why, but I did see this message (inconsistently) during my testing in Firefox's Error Console. Maybe it has something to do with it.

      Error: The stylesheet http://www.korlontest.info/civicrm/admin/themes/default/style.css was not loaded because its MIME type, "text/html", is not "text/css".
      Source File: http://www.korlontest.info/civicrm/admin/menu?reset=1
      Line: 0

      The symptom of this bug is the same in IE8 as Firefox. In IE7, the symptom is even worse, it lags and then eventually crashes the browser.

      Just to make sure it wasn't my browser cache or something like that, I logged off, cleared cache and logged back in. I even cleared out "templates_c". Neither had any effect.

        Attachments

        1. ie7.png
          22 kB
          Stoob
        2. theme.png
          28 kB
          Stoob

          Activity

          [CRM-7099] Drupal's Performance "Optimize Javascript Files" breaks CiviCRM Admin menu
          Ashwini Poharkar added a comment -

          Tested in r30821

            People

            • Assignee:
              Ashwini Poharkar
              Reporter:
              Stoob

              Dates

              • Created:
                Updated:
                Resolved: