Project

General

Profile

Actions

Defect #3190

closed

Custom field won't be removed if you changed the tracker to a none-custom-field tracker

Added by Minjie Zhu almost 15 years ago. Updated almost 15 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Confirmed with Redmine Ver: r2670

  1. create a custom field
  2. create a tracker that uses the custom field
  3. create a new issue using the tracker and enter some value into the custom field
  4. when the issue is shown click on Move
  5. Move the issue to another tracker without the custom field.
  6. Show the issue and the costom field still exists although the tracker doesn't contain the costom field.

I have to remove the custom field from the tracker which dosen't contain it by editing the Database directly.

I think if the tracker of issure is changed, the custom field which is not defined for the tracker should be removed.

Thank you for reading.

Actions #1

Updated by Jean-Philippe Lang almost 15 years ago

  • Status changed from New to Resolved
  • Target version set to 0.8.4
  • Resolution set to Fixed

This is fixed in r2724.

Actions #2

Updated by Minjie Zhu almost 15 years ago

Jean-Philippe Lang wrote:

This is fixed in r2724.

I confirmed the revision and it works well!

And I found that this revision just changed the view, but not the data in DB. Because if I return the tracker to the former, the custom field shows the old data.

Maybe it would be nice to clear the custom field of the ticket when the tracker is changed.

But now it maybe good enough. So thank you so much for your help :)

Actions #3

Updated by Jean-Philippe Lang almost 15 years ago

  • Status changed from Resolved to Closed

Merged in 0.8-stable in r2746.

Actions

Also available in: Atom PDF