Modify ↓
Opened 17 years ago
Closed 17 years ago
#6252 closed defect (duplicate)
Trac Admin allows creation of Severties with blank name and does not allow modification
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/console | Version: | |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Under Severities, you can create a severity with a name of " ". When you try to change the order of it, you get this traceback:
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/TracWebAdmin-0.1.2dev_r164-py2.3.egg/webadmin/web_ui.py", line 109, in process_request path_info) File "/usr/lib/python2.3/site-packages/TracWebAdmin-0.1.2dev_r164-py2.3.egg/webadmin/ticket.py", line 367, in process_admin_request enum.update(db=db) File "/usr/lib/python2.3/site-packages/trac/ticket/model.py", line 388, in update assert self.name, 'Cannot update %s with no name' % self.type AssertionError: Cannot update severity with no name
When you try to delete it, it does not do anything. My guess is that it needs validation when it is created to prevent this error.
Attachments (0)
Change History (1)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|---|
Priority: | high → normal |
Resolution: | → duplicate |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #5612.
When you're about to submit a new ticket:
Thanks in advance.