Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The following settings inside Configuration/Development/Performance are killing the Color module
- Compress cached pages
- Aggregate and compress CSS files
- Aggregate JavaScript files
Comment | File | Size | Author |
---|---|---|---|
#9 | Screen Shot 2013-08-03 at 4.40.34 AM.png | 49.11 KB | markhalliwell |
#9 | Screen Shot 2013-08-03 at 4.41.51 AM.png | 150.68 KB | markhalliwell |
#2 | kill-one.png | 153.76 KB | globexplorer |
#2 | kill-two.png | 154.01 KB | globexplorer |
#2 | kill-three.png | 158.75 KB | globexplorer |
Comments
Comment #1
catchCould you describe 'killing' in a bit more detail?
Comment #2
globexplorer CreditAttribution: globexplorer commentedWhen you enable JavaScript compression than, the JavaScript on the Preview won't work anymore. The colors are gone. Also a white space on the page top will appear. The colors will change, but the Preview is corrupt.
Look at the screenshots. I tested it with Bartik and some other themes. They are all the same.
Comment #3
catchSince aggregation is breaking only the color module interface, not the front facing site, I think this qualifies as major rather than critical. I have a feeling there may already be an issue in the queue dealing with this.
Comment #4
sunSince there is a simple workaround (disable caching/optimization), and because you usually configure Color module before configuring caching/optimization, demoting to normal.
Comment #5
Devin Carlson CreditAttribution: Devin Carlson commentedDo you have any more information on how to reproduce this problem and what environment you're using? I can't reproduce this with any of my colorable themes or combination of caching/aggregation settings.
Comment #6
markhalliwellJS not working when aggregation/minification is enabled usually means there's a syntax error that gets introduced when the source gets compressed or combined. Bumping this back up to major because (despite what @sun said), disabling caching/optimization on a live site just to configure color changes is absolutely not a viable work around.
Comment #7
markhalliwelltagging
Comment #8
nod_Can't reproduce. I guess our work on the JS paied off :)
Comment #9
markhalliwellI also cannot reproduce in 8.x. Moving back to 7.x.