Closed (fixed)
Project:
Sweaver
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2010 at 13:19 UTC
Updated:
22 Oct 2010 at 21:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
karens commentedIt's this ctools issue #916796: _ctools_css_disassemble_declaration() sometimes break a valid value for a property. Looks like you already found the issue, but Sweaver image handling is horribly broken until it is fixed.
Comment #2
swentel commentedThere are actually 2 remaining bugs in css.inc, see #916796: _ctools_css_disassemble_declaration() sometimes break a valid value for a property and #916532: ctools_css_disassemble() sometimes overwrites a selector - I've already sent a pull request for the D7 port to fix it there (http://github.com/sdboyer/ctools) - it's not included yet, but I hope it will soon. I'm going to write tests for those 2 patches so they might get in faster.
If this is blocking for you guys (read, you don't want to run a patched version of CTools), I can make a workaround for the time being to exclude the dependency on css.inc (but will definitely bring it back once it gets in).
Comment #3
karens commentedI put in a temporary patch to the code we're using to avoid running the css through ctools so my images will work. I'll pull my patch out when ctools is working right. Other people might like to have a workaround too, though. I'll leave that up to you.
I thought it would be a good idea to leave this issue active so people who are having trouble can see what's going on, because it's pretty baffling and frustrating when images don't work right.
Comment #4
swentel commentedExtra patch which needs to be ported to D7 also for more allowed properties when using CTools css functions.
Comment #5
swentel commentedComment #6
swentel commented