Modify ↓
Opened 17 years ago
Closed 17 years ago
#7930 closed defect (duplicate)
Error When Adding new Priority having an existing name
| Reported by: | Kanaan A. | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | admin/web | Version: | none |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
When you add a new priority having an existing name (the name already exists in the priorities set), an internal error is triggered
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/web_ui.py", line 119, in process_request
path_info)
File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/ticket.py", line 327, in process_admin_request
enum.insert()
File "/usr/lib/python2.5/site-packages/trac/ticket/model.py", line 379, in insert
(self.type, self.name, self.value))
File "/usr/lib/python2.5/site-packages/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py", line 56, in execute
args or [])
File "/usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
return function(self, *args, **kwargs)
IntegrityError: columns type, name are not unique
Attachments (0)
Change History (1)
comment:1 by , 17 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Please read NewTicketGuidelines about how to report a useful bug/error.
Your bug report is missing an important information: the Trac version.
Moreover, this is a duplicate which is easy to locate: simply search for the error: columns type, name are not unique
BTW, please use verbatim blocks ({{{}}}) when quoting an error trace.
Dup of #6808