Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2241 closed defect (fixed)

I can't add new milestone.

Reported by: tdkim@… Owned by: Christopher Lenz
Priority: highest Milestone: 0.9
Component: roadmap Version: devel
Severity: blocker Keywords: add new milestone
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I tested Trac -r 2387.

When i add new milestone.

Trac detected an internal error:
'NoneType' object has no attribute 'replace'
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/ticket/roadmap.py", line 354, in process_request
    self._render_editor(req, db, milestone)
  File "/usr/lib/python2.3/site-packages/trac/ticket/roadmap.py", line 437, in _render_editor
    req.hdf['milestone'] = milestone_to_hdf(self.env, db, req, milestone)
  File "/usr/lib/python2.3/site-packages/trac/ticket/roadmap.py", line 87, in milestone_to_hdf
    safe_name = milestone.name.replace('/', '%2F')
AttributeError: 'NoneType' object has no attribute 'replace'

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 19 years ago

Status: newassigned

comment:2 by Christopher Lenz, 19 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [2388].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.