After setting a custom base color (some variant of red) with the color wheel, I set Color Set to Plum and attempted to save. The resulting errors occurred:
* Notice: Undefined index: gradient in _color_render_images() (line 470 of /home/caligan/d7/modules/color/color.module).
* Notice: Undefined index: text in _color_rewrite_stylesheet() (line 401 of /home/caligan/d7/modules/color/color.module).
* Notice: Undefined index: text in _color_rewrite_stylesheet() (line 401 of /home/caligan/d7/modules/color/color.module).
* Notice: Undefined index: link in _color_rewrite_stylesheet() (line 401 of /home/caligan/d7/modules/color/color.module).
* Notice: Undefined index: link in _color_rewrite_stylesheet() (line 401 of /home/caligan/d7/modules/color/color.module).
* Notice: Undefined index: link in _color_rewrite_stylesheet() (line 401 of /home/caligan/d7/modules/color/color.module).
* Notice: Undefined index: link in _color_rewrite_stylesheet() (line 401 of /home/caligan/d7/modules/color/color.module).
* Notice: Undefined index: link in _color_rewrite_stylesheet() (line 401 of /home/caligan/d7/modules/color/color.module).
* Notice: Undefined index: link in _color_rewrite_stylesheet() (line 401 of /home/caligan/d7/modules/color/color.module).
There was no change in the site's colors. The same occurred a second time attempting the same thing with the Blue Lagoon set.
Replicated this in both Firefox 3.6 and IE 8.
Comment | File | Size | Author |
---|---|---|---|
bartik-ss-colorbug-01.jpg | 30.32 KB | Caligan |
Comments
Comment #1
JacineSeems like this has improved, but is still a problem. I just tried the same and got:
Notice: Undefined index: base in _color_rewrite_stylesheet() (line 437 of modules/color/color.module).
Notice: Undefined index: base in _color_rewrite_stylesheet() (line 437 of modules/color/color.module).
Not sure if this is a problem w/Bartik or the color module.
Comment #2
jensimmons CreditAttribution: jensimmons commentedSmerrill???
Comment #3
Jarek Foksa CreditAttribution: Jarek Foksa commentedThis is a problem with color module and afair it was present before any patches were introduced. It has quite serious implications since colors not defined in color.inc are shifted relatively to base color.
You can work around this issue by declaring base color in color.inc to be slightly different than base color declared in CSS files, but in many cases this will cause colors to be shifted incorrectly.
Comment #4
Jarek Foksa CreditAttribution: Jarek Foksa commentedComment #5
mgiffordI ran into this problem too when playing with Bartik.
It is mentioned here:
#776684: The color.module preview HTML is hardcoded
but I've created an issue for it here:
#789554: Notice: Undefined index: base in _color_rewrite_stylesheet() in line 437
Comment #6
jensimmons CreditAttribution: jensimmons commentedSo..... is there anything we need to do for Bartik to help with this? Or do we close this issue as won't fix, because it's a core color module thing, and not a Bartik thing.
Comment #7
mgiffordWell, I'm guessing that $base isn't defined where it should be in Bartik because it doesn't show up as an error when switching colors in Garland.
So I don't think it can be closed, but I don't really know enough about D7 theming to say for sure.
Comment #8
Jarek Foksa CreditAttribution: Jarek Foksa commentedThe error does not appear in Garland because it is not using base color (#0072b9) in any of its stylesheets. Try adding
#blah { background-color: #0072b9; }
to Garland's style.css and you will get the same error:Comment #9
mgiffordGuess it can be closed then here in Bartik.
Comment #10
geek-merlinSee #1236098-43: Notice: Undefined index: 'base' in _color_rewrite_stylesheet()