Modify ↓
#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)
Change History (4)
by , 20 years ago
Attachment: | patch-followrenames-r1014.diff added |
---|
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The other parts of this were already addressed in [1831]
comment:3 by , 19 years ago
Milestone: | → 0.9 |
---|
Note:
See TracTickets
for help on using tickets.
Patch for the changes