Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1084 closed defect (fixed)

Burndown page breaks when no milestones

Reported by: andrew.hill@… Owned by: sambloomquist
Priority: normal Component: ScrumBurndownPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


When there are no milestones in trac, the burndown page does not display a graceful "there are no milestones" page, but instead breaks:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/", line 387, in dispatch_request
  File "/usr/lib/python2.3/site-packages/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/TracBurndown-0.1-py2.3.egg/burndown/", line 122, in process_request
    selected_milestone = req.args.get('selected_milestone', milestones[0])
IndexError: list index out of range

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by sambloomquist

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

(In [2054]) fixes #1084 - put in a check for null (None) before the problem line of code.

comment:2 Changed 8 years ago by sambloomquist

fix will come out with version 01.06.10 of burndown plugin.

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.