Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5035 closed defect (duplicate)

Milestone editting thow an internal error

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.3.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

After editing milestone`s due date a got following error:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/var/lib/python-support/python2.4/trac/ticket/roadmap.py", line 359, in process_request
    self._do_save(req, db, milestone)
  File "/var/lib/python-support/python2.4/trac/ticket/roadmap.py", line 428, in _do_save
    milestone.update()
  File "/var/lib/python-support/python2.4/trac/ticket/model.py", line 634, in update
    (self.name, self.due, self.completed, self.description,
  File "/var/lib/python-support/python2.4/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
IntegrityError: column name is not unique

Trac server runs at Debian Etch RC2.

Attachments (0)

Change History (3)

comment:1 by anonymous, 17 years ago

Sorry, for my mistake. Mentioned error occured after adding milestone that already exists not after editting.

comment:2 by Christian Boos, 17 years ago

Description: modified (diff)

And you're not the one to blame, as there's already a ticket asking for a more explicit error message in this case: #3652

comment:3 by Christian Boos, 17 years ago

Resolution: duplicate
Status: newclosed

Modify Ticket

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