Edgewall Software
Modify

Opened 20 years ago

Closed 19 years ago

Last modified 18 years ago

#880 closed defect (fixed)

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: Branch:
Release Notes:
API Changes:
Internal 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 (1)

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

Download all attachments as: .zip

Change History (4)

by pkou <pkou at ua.fm>, 20 years ago

Patch for the changes

comment:1 by rush@…, 19 years ago

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

comment:2 by Matthew Good, 19 years ago

Resolution: fixed
Status: newclosed

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

comment:3 by Matthew Good, 19 years ago

Milestone: 0.9

Modify Ticket

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