Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5552 closed defect (worksforme)

Admin: crash when adding existing version name

Reported by: emw1989@… Owned by: Christopher Lenz
Priority: high Milestone:
Component: admin/console Version: 0.10.4
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

As an admin of igtd.devjavu.com, in Ticket System > Versions, I tried to add a Time value (mm/dd/yy) to an existing version entry. After clicking Save, the version was deleted (!) from the versions list, and when I tried to re-add it, I got a crash complaining about a non-unique column name.

Thanks for any help!

Traceback (most recent call last):
  File "/data/devjavu/releases/20070606020448/trac/lib/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/data/devjavu/releases/20070606020448/trac/lib/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/tmp/bdist/webadmin/web_ui.py", line 109, in process_request
  File "/tmp/bdist/webadmin/ticket.py", line 244, in process_admin_request
  File "/data/devjavu/releases/20070606020448/trac/lib/trac/ticket/model.py", line 723, in insert
    (self.name, self.time, self.description))
  File "/data/devjavu/releases/20070606020448/trac/lib/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/data/devjavu/releases/20070606020448/trac/lib/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/data/devjavu/releases/20070606020448/trac/lib/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
IntegrityError: column name is not unique

Attachments (0)

Change History (2)

comment:1 by Emmanuel Blot, 17 years ago

Description: modified (diff)

comment:2 by Christian Boos, 17 years ago

Resolution: worksforme
Status: newclosed

This works on trunk.

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.