Modify ↓
Opened 18 years ago
Closed 18 years ago
#5552 closed defect (worksforme)
Admin: crash when adding existing version name
| Reported by: | 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 )
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 , 18 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 18 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



This works on trunk.