Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10062 closed defect (worksforme)

Cannot update priority with no name

Reported by: salam@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.10.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Having been allowed to create the priority " " (one space) I now have an entry that cannot be removed or prioritized.

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "build/bdist.linux-x86_64/egg/webadmin/web_ui.py", line 119, in process_request File "build/bdist.linux-x86_64/egg/webadmin/ticket.py", line 367, in process_admin_request File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line 388, in update

assert self.name, 'Cannot update %s with no name' % self.type

AssertionError: Cannot update priority with no name

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 13 years ago

Resolution: worksforme
Status: newclosed

Are you really running 0.10.4? In this case, please upgrade to at least 0.11.7, or better 0.12.2. I'm pretty sure this has been fixed.

To remove the offending priority, you will have to run a SQL statement on the database directly.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.