Edgewall Software
Modify

Ticket #880 (closed defect: fixed)

Opened 7 years ago

Last modified 5 years ago

Renaming fields in dictionary does not lead to changes in related tables

Reported by: pkou <pkou at ua.fm> Owned by: daniel
Priority: normal Milestone: 0.9
Component: admin/console Version: devel
Severity: normal Keywords:
Cc:
Release Notes:
API Changes:

Description

Trac does not update all affected fields when dictionary is edited.

Required additional processing for default values:

  • When default component, priority, severity, version, or milestone is renamed via trac-admin, then appropriate property default_component, default_priority, default_severity, default_version, or default_milestone should be renamed in trac.ini;
  • When default component, priority, severity, version, or milestone is deleted via trac-admin, then appropriate property default_component, default_priority, default_severity, default_version, or default_milestone should be cleared in trac.ini.

Required additional processing when dictionary records are renamed:

  • If priority, severity, milestone, or version is renamed, then field priority, severity, milestone, or version should be renamed in appropriate tickets.

Required additional processing when dictionary records are deleted:

  • If component, milestone, or version is deleted, then field component, milestone, or version should be cleared in appropriate tickets;
  • If priority or severity is deleted, then field priority or severity should be renamed to default value in appropriate tickets.

Patch attached.

Attachments

patch-followrenames-r1014.diff (5.5 KB) - added by pkou <pkou at ua.fm> 7 years ago.
Patch for the changes

Download all attachments as: .zip

Change History

Changed 7 years ago by pkou <pkou at ua.fm>

Patch for the changes

comment:1 Changed 6 years ago by rush@…

#447 (implemented in [691]) addresses the milestone portion of this ticket, but not component, priority, severity, version.

comment:2 Changed 6 years ago by mgood

  • Resolution set to fixed
  • Status changed from new to closed

The other parts of this were already addressed in [1831]

comment:3 Changed 6 years ago by mgood

  • Milestone set to 0.9
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.