Modify

Opened 6 years ago

Closed 2 years ago

#3007 closed defect (wontfix)

[0.11] color not rendered

Reported by: christian.unger@… Owned by: davecole
Priority: high Component: CustomRoadmapPlugin
Severity: normal Keywords:
Cc: hju@… Trac Release: 0.11

Description

I have configured a custom workflow and try to get the customroadmap plugin to work. please check the attached screenshots.

Attachments (2)

roadmap_in_FireFox.png (9.3 KB) - added by christian.unger@… 6 years ago.
Roadmap as rendered in Firefox.
confguration.png (10.0 KB) - added by christian.unger@… 6 years ago.
configuration section of trac.ini

Download all attachments as: .zip

Change History (13)

Changed 6 years ago by christian.unger@…

Roadmap as rendered in Firefox.

Changed 6 years ago by christian.unger@…

configuration section of trac.ini

comment:1 Changed 6 years ago by dan@…

I had the same problem. You can work around this by editing the roadmap.css file in the default trac htdocs/css directory. Mine was located here: /usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/htdocs/css/roadmap.css

comment:2 Changed 6 years ago by anonymous

  • Priority changed from normal to high

What are the modifications that I had to make in the roadmap.css file? Hope to hear a reply soon. thanks in advance!

comment:3 follow-up: Changed 6 years ago by dan@…

There is a section that has a few "table.progress td" classes. Duplicate the td.new for each of your custom statuses. So if you have a "testing" status, you add the following:

table.progress td.testing { background: #[your color]}

comment:4 Changed 6 years ago by christian.unger@…

This workaround doesn't seem to work for me.

comment:5 in reply to: ↑ 3 Changed 6 years ago by anonymous

Replying to dan@acucore.com:

There is a section that has a few "table.progress td" classes. Duplicate the td.new for each of your custom statuses. So if you have a "testing" status, you add the following:

table.progress td.testing { background: #[your color]}

Thanks! Worked perfectly.

comment:6 Changed 6 years ago by anonymous

  • Cc hu@… added

facing the same problem.

You can work around this by editing the roadmap.css file in the default trac htdocs/css directory

...is a solution, but makes this Plugin useless. In this case I can use the Features in [milestone-groups] (since [0.11]) http://trac.edgewall.org/wiki/TracIni#milestone-groups-section to insert ticket states into progress bar.

Reason for the error seems to be #1867

comment:7 Changed 6 years ago by hju@…

  • Cc hju@… added; hu@… removed

corrected missing character in cc

comment:8 Changed 6 years ago by peterson_eric_d@…

This does not work for me either. I am running trac on windows. I attempted to update all the roadmap.css files I could find. yet still no change. Here are the lines from the displayed source. Note there are two references to roadmap.css.

<link rel="stylesheet" href="/rsm/chrome/common/css/trac.css" type="text/css" /><link rel="stylesheet" href="/rsm/customroadmap/roadmap.css" type="text/css" /><link rel="stylesheet" href="/rsm/chrome/theme/gnomebr.css" type="text/css" />

...

<link rel="stylesheet" type="text/css" href="/rsm/chrome/common/css/roadmap.css" />

</head>

looking at the tracd output

ip - - [timestamp] "GET /rsm/customroadmap/roadmap.css HTTP/1.1" 500 -

I'm not sure what error 500 means in this context. Is it "file not found"?

comment:9 Changed 5 years ago by anonymous

Strange behaviour is that color is rendered correctly if I define the Colors as:

[roadmap-groups]
assigned.color = DarkKhaki
assigned.counts = true
assigned.status = assignedtestcase,assigneddefect,assignedenhancement,assignedtask,infoneeded
closed.color = LightGreen
closed.counts = true
closed.status = closed

if I define color in the format #xxxxxx rendering fails.

Can someone else confirm this behaviour?

comment:10 Changed 2 years ago by anonymous

The problem seems to be that attempt to get chrome/common/css/roadmap.css always returns the template instead of actual file.

comment:11 Changed 2 years ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

The functionality of this plugin is available in the Trac core with 0.11. See CustomRoadmapPlugin for more details.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.