Project

General

Profile

Actions

Defect #44255

open

Silent loss of issue custom field values

Added by Liane Hampe 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Resolution:
Affected version:

Description

Problem Behavior

Two scenarios cause custom field values to disappear without journal entries:

1. Decoupling + Bulk Edit: Custom field is removed from a project, then a bulk edit is performed on its issues.
2. Decoupling in both + Move: Custom field is removed from both source and target projects, then an issue is moved between them.

Proposed Fix

1. Location: save_custom_field_values method in lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb
2. Approach: Before deleting CustomValue records via dependent: :delete_all, detect which values be removed and create journal entries documenting the deletion. Then proceed the deletion.


This behavior is expected in all version of Redmine.

No data to display

Actions

Also available in: Atom PDF