cvs.css not included for project/cvs/* pages

Junyor - December 2, 2007 - 17:00
Project:CVS integration
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

The CSS styling added in http://drupal.org/node/10928 and changed in http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/cvslog/cvs.... is no longer working: long entries in the Drupal.org CVS log don't wrap. Unfortunately, I don't have a setup for testing the CVS module, otherwise I'd try to fix this myself. The problem may be related to the use of drupal_set_html_head rather than drupal_add_css. I also don't know what version of the module is running on Drupal.org.

#1

jpetso - December 2, 2007 - 17:41

For reference, I just tested it for Commit Log (based on Version Control API) and Garland, and long messages break properly there. I've got that code directly from cvs.module, so it can't be far away from working. Maybe bluebeach messes with this CSS somehow?

#2

Junyor - December 12, 2007 - 18:14

It's possible. Can you check your page source code to make sure there's a style element there?

#3

jbrauer - February 9, 2008 - 07:50

I don't have a setup for testing CVSlog but was just looking at this issue on d.o.

The cvs messages on d.o are wrapping for me except for strings that are too long to wrap. The paths that are too long to wrap are overflowing under the right boxes.

http://drupal.org/node/10928 #2 suggests using "overflow: auto" to get a horizontal scrolling area if the information is too large to fit in the area of the page. Testing with Firebug this seems to work for the long paths and function names that lack the white space to wrap.

#4

Junyor - February 9, 2008 - 15:31

The CSS to fix this is already in the CSS file for the cvslog module, it's just not being applied.

#5

hunmonk - February 17, 2008 - 16:19
Status:active» duplicate

duplicate of http://drupal.org/node/71359

#6

hunmonk - February 17, 2008 - 18:44
Title:CSS Styling not Applied» CVS CSS Styling not Applied in Bluebeach
Project:CVS integration» Drupal.org infrastructure
Version:6.x-1.x-dev» <none>
Component:Code» Bluebeach
Status:duplicate» active

reopening, b/c http://drupal.org/node/71359 was fixed and we're still having this issue on d.o

#7

drumm - February 18, 2008 - 05:40

What specifically needs to be fixed in bluebeach?

#8

Junyor - February 18, 2008 - 15:27

@drumm: Bluebeach isn't showing the STYLE element inserted by cvs.module. The latest cvs.module in CVS uses drupal_add_css, but according to hunmonk, that's also not working.

#9

hunmonk - February 18, 2008 - 15:35

@drumm: here's the cvs.css file:

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/cvslog/cvs....

this is installed on d.o, and all relevant caches were cleared, but the commit message descriptions still aren't wrapping. my local test on the garland theme showed this CSS file to create the desired effect there, so i'm imagining that something is being overridden by a bluebeach CSS setting.

#10

seanr - February 18, 2008 - 15:44

Can you guys try turning off CSS caching on d.o? It's currently got all of the css combined into one compressed file, and I'm wondering if that might be causing this as I've had issues with that on other sites.

#11

hunmonk - February 18, 2008 - 15:59

@seanr: i cleared the CSS cache after i deployed this patch, so the newly compressed files should contain the cvs.css stuff. i don't think turning off the caching is really an option here, except to test if that's what's causing the problem.

#12

dww - June 11, 2008 - 23:04

Bump: I just marked #269542: CVS log messages don't wrap duplicated of this.

#13

drumm - October 28, 2008 - 04:34
Component:Bluebeach» Drupal.org theme

Does this happen on the scratch and project test sites?

#14

dww - October 28, 2008 - 07:26
Project:Drupal.org infrastructure» CVS integration
Version:<none>» 5.x-1.x-dev
Component:Drupal.org theme» User interface

Yes, happens on project.d.o, for example:
http://project.drupal.org/project/cvs/38878
Shrink the width of the screen and you'll see the commit messages overflow.
What's weird is that they properly wrap at http://project.drupal.org/cvs

Looking briefly at the cvslog.module code and project.inc, I now see that this is actually a bug in one of those modules (though I can't decide which one -- it's a bug that project.inc is invoking a cvs-specific hook in the first place). ;) On cvslog.module managed pages, cvs.css is added. When project.module generates the page and invokes a hook from cvslog.module, there's no cvs.css added. I tested locally on a garland site and I see the same behavior. So, this is definitely not a bluebeach bug. Sorry about that.

#15

dww - October 28, 2008 - 19:48
Title:CVS CSS Styling not Applied in Bluebeach» cvs.css not included for project/cvs/* pages
 
 

Drupal is a registered trademark of Dries Buytaert.