Edgewall Software
Modify

Opened 11 years ago

Last modified 3 years ago

#7786 new defect

Removing existing ticket priorities makes tickets unrenderable in queries

Reported by: jtiai Owned by:
Priority: normal Milestone: next-stable-1.2.x
Component: admin/web Version: 0.11-stable
Severity: major Keywords: verify
Cc: Branch:
Release Notes:
API Changes:

Description

If you remove all priorities that exist in tickets and add new ones (with different name) you can't query existing tickets anymore since many pieces of code relies on existing "priority" values in enum table.

There should be warning that operation causes bad side-effects, preferably there should be option to automatically upgrade tickets to new values.

Attachments (0)

Change History (5)

comment:1 by Christian Boos, 11 years ago

Did you consider using the following TracAdmin command, instead of removing/adding?

priority change <value> <newvalue>
	-- Change a priority value

That should have taken care of the update of tickets.

Also, can you be a bit more specific about:

  • which … pieces of code relies on existing "priority" values…
  • which bad side-effects

comment:2 by Christian Boos, 11 years ago

Plus the web admin also allows you to Modify Priority when you click on a priority value.

comment:3 by Christian Boos, 10 years ago

Keywords: verify added
Milestone: 0.11.4

No feedback - still worth trying to reproduce.

comment:4 by Ryan J Ollos, 5 years ago

Milestone: next-minor-0.12.xnext-stable-1.0.x

comment:5 by Ryan J Ollos, 3 years ago

Milestone: next-stable-1.0.xnext-stable-1.2.x

Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned. Next status will be 'new'.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.