Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10130 closed defect (worksforme)

Roadmap milestones show 0% completion after update 0.12.1 -> 0.12.2

Reported by: anonymous Owned by:
Priority: high Milestone:
Component: roadmap Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

I just noticed that all our milestones show 0% completion.

The progress bars are OK its only the number which says 0%.

Honestly I noticed it today, but we did the update 2 days ago, and since a human being (at least me) looks more on the progress bars, it could be that this was wrong before.

Anyway: could you give me some hint?

What could I look for, or how can I check this? (and repair ;-) )

Stephane

Attachments (0)

Change History (12)

comment:1 by Christian Boos, 13 years ago

Keywords: needinfo added

Anything special in your config? Special [milestone-groups] perhaps?

In general, 0.12.2 works OK for this (see e.g. http://babel.edgewall.org/roadmap which run 0.12.3dev but nevertheless there are no changes in that version concerning the roadmap module since 0.12.2).

comment:2 by Christian Boos, 13 years ago

Description: modified (diff)

(French speaking person, right? ;-) )

in reply to:  2 comment:3 by anonymous, 13 years ago

Replying to cboos:

(French speaking person, right? ;-) )

yes ;-)

and yes we use [milestone-groups], since we use the test workflow similar as describe in: TracWorkflow#Example:AddingoptionalTestingwithWorkflow

so our testing tickes are highlighted in yellow.

Stephane

comment:4 by anonymous, 13 years ago

Priority: normalhigh

OK I did a test:

  1. I look at my trac 0.12.2 and see in the roadmap a completion of 0% for all milestones
  2. I get Trac-0.12.1.tar.gz, and install it.
  3. I look again in the roadmap and see the correct % values in the milestones.

I didn't change nothing else!

Could you give me a hint on where I could look for this:

  • where are the % completion values calculated
  • can I activate some log somewhere

Thanks :-)

Stephane

comment:5 by anonymous, 13 years ago

By the way, I looked in trac.log and saw no error messages.

The log level is DEBUG.

comment:6 by Christian Boos, 13 years ago

Component: generalroadmap
Keywords: needinfo removed

Have a look at TicketGroupStats in source:tags/trac-0.12.2/trac/ticket/roadmap.py.

You might have a problem with the "overall_completion" setting. The code change between 0.12.1 and 0.12.2 corresponds to: diff:tags/trac-0.12.1/trac/ticket/roadmap.py//tags/trac-0.12.2/trac/ticket/roadmap.py.

comment:7 by Remy Blank, 13 years ago

Can you please post the [milestone-groups] section of your trac.ini?

comment:8 by anonymous, 13 years ago

Here it is:

[milestone-groups]
active = *
active.css_class = open
active.label = Active
active.order = 2
closed = closed
closed.order = 0
closed.overall_completion = truepercentage
testing = testing
testing.css_class = new
testing.label = Testing
testing.order = 1

comment:9 by Christian Boos, 13 years ago

Resolution: worksforme
Status: newclosed

He he ;-) Nice combination of r10308 and #9711 ;-)

Just change this to a proper boolean value.

comment:10 by Christian Boos, 13 years ago

Milestone: 0.12.3

in reply to:  9 comment:11 by anonymous, 13 years ago

Replying to cboos:

He he ;-) Nice combination of r10308 and #9711 ;-)

Just change this to a proper boolean value.

Sorry I don't know what you mean … what value should be set to "true"?

If I look at TracIni#milestone-groups-section I don't see such example.

comment:12 by anonymous, 13 years ago

aaah forget it, i figured it out.

Thanks a lot ;-)

Stephane

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.