Active
Project:
SASS / SCSS
Version:
6.x-2.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2012 at 21:34 UTC
Updated:
28 Jun 2014 at 08:55 UTC
Jump to comment: Most recent
As the warning reads in the subject there is a bad reference here that needs to be fixed.
Comments
Comment #1
nicholas.alipaz commentedThis looks to be due to the hardcoding of 'all' as the key in the foreach. Some themes might declare the stylesheets as
stylesheets[screen][] = "core.css"
stylesheets[screen][] = "icons.css"
stylesheets[screen][] = "style.css"
stylesheets[print][] = "print.css"
Rubik does this actually.
Comment #2
nicholas.alipaz commentedI replaced line 31's foreach with this:
Got rid of the error. I don't know if you need a patch for this, but it is a fairly simple fix. BTW, on a side-note the module does not follow drupal coding standards for whitespace or comments.
Comment #3
nicholas.alipaz commentedah, I guess there is an issue open for the coding standards thing: #1604776: Follow coding standards
Comment #4
ken hawkins commentedThis problem also exists in the 7.x version.
If your theme uses 'screen' stylesheets, the will be ignored.
Can be worked around by modifying lines:
@53
and @62