-
Bug
-
Resolution: Fixed
-
Critical
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
w29_
MDL-40569_m26_nocss -
I have discovered that sometimes the all.css cache file is empty - delete dataroot/cache/theme and reload browser (themedesigner off, css optimiser off - tested with PHP 5.5.0 and 5.4.x).
After some poking I have discovered that the css_minify_css() sometimes returns empty string...
We should aslo probably first process the CSS palceholders and only afterwards do the minimisation.
maybe we could also append some testing CSS file with special rule marker and verify it is in the result too.