Project

General

Profile

Actions

Defect #16441

closed

update issue custom field multiple ,not show all detail in journalized

Added by alfa zhang about 10 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Environment:
Redmine version 2.5.0.stable
Ruby version 1.8.7-p352 (2011-06-30) [x86_64-linux]
Rails version 3.2.17
Environment production
Database adapter Mysql2
SCM:
Filesystem
Redmine plugins:
no plugin installed

I add a custom field list(AAA/BBB/CCCC) which multiple is TRUE
when user update this custom field value from AAA/CCC to AAA/BBBB
journalized only show he added BBBB,not show he deleted CCC

I fixed by this:

# diff /root/soft/redmine-2.5.0/app/helpers/issues_helper.rb fixed/app/helpers/issues_helper.rb
284,285c284,285
< strings << show_detail(detail, no_html, options)
< elsif changes[:deleted].any?@
---
> end
> if changes[:deleted].any?
287d286
< strings << show_detail(detail, no_html, options)
288a288
> strings << show_detail(detail, no_html, options)


Related issues

Is duplicate of Redmine - Defect #19225: When deleting one item from multivalued custom field / list of users, name of removed user is not visible in historyClosedJean-Philippe Lang

Actions
Actions #1

Updated by Toshi MARUYAMA almost 10 years ago

  • Category set to Custom fields
Actions #2

Updated by Go MAEDA over 2 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Fixed in Redmine 3.0.1 (#19225).

Actions #3

Updated by Go MAEDA over 2 years ago

  • Is duplicate of Defect #19225: When deleting one item from multivalued custom field / list of users, name of removed user is not visible in history added
Actions

Also available in: Atom PDF