Feature #21623

Journalize values that are cleared after project or tracker change

Added by Jérôme BATAILLE over 1 year ago. Updated 9 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Issues
Target version:3.4.0
Resolution:Fixed

Description

For example if a custom field is only enabled for the tracker Defect and if the tracker is changed to Feature there is not journal telling that the custom value has been removed.

Tested with Redmine 3.0

journal_for_lost_cust_values_when_cust_field_is_not_enabled_anymore.diff Magnifier (1.29 KB) Jérôme BATAILLE, 2016-01-05 15:57

redmine_3.2.0_21623.diff Magnifier (1.48 KB) Jérôme BATAILLE, 2016-04-07 01:06

redmine_3.2.0_21623_test.diff Magnifier (1.55 KB) Jérôme BATAILLE, 2016-04-07 01:06


Related issues

Related to Redmine - Feature #22600: Add warning when loosing data from custom fields when bul... Closed

Associated revisions

Revision 15811
Added by Jean-Philippe Lang 10 months ago

Journalize values that are cleared after project or tracker change (#21623).

History

#1 Updated by Jérôme BATAILLE over 1 year ago

Tested with Redmine V3.2.0

I am going to bring a patch

#2 Updated by Jérôme BATAILLE over 1 year ago

Here is the patch.

I don't know if the method custom_field_values could be changed to fix that.

#3 Updated by Toshi MARUYAMA over 1 year ago

Could you add test?

#4 Updated by Jérôme BATAILLE over 1 year ago

Sure !

#5 Updated by Jérôme BATAILLE about 1 year ago

Here are the patches for Redmine 3.2.0.

#6 Updated by Go MAEDA about 1 year ago

  • Related to Feature #22600: Add warning when loosing data from custom fields when bulk editing issues added

#7 Updated by Go MAEDA about 1 year ago

  • Target version set to Candidate for next major release

#8 Updated by Jérôme BATAILLE 10 months ago

Hi, this patch has been thoroughly and extensively tested on our side, can it be integrated in a coming version, it's a pretty safe and clean development.

#9 Updated by Toshi MARUYAMA 10 months ago

  • Target version changed from Candidate for next major release to 3.4.0

#10 Updated by Jean-Philippe Lang 10 months ago

  • Subject changed from No journal detail when a custom field value is removed to Journalize values that are cleared after project or tracker change
  • Category changed from Custom fields to Issues
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Implemented in r15811 for custom and standard fields as well.

#11 Updated by Jérôme BATAILLE 9 months ago

Jean-Philippe,

Thanks a lot to have taken in account this feature.

Also available in: Atom PDF