Actions
Defect #9737
closedCustom values deleted before issue submit
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Working on a custom implementation of RedMine, we found that if the user tries to change the tracker of a issue but do not save the modifications after all, custom values that belongs to the old tracker, but not to the new one, are removed. No history neither.
How to reproduce it:- create tracker 1 with custom field A
- create tracker 2 with custom field B
- create an issue with tracker 1, assign a value to custom field A
- edit the issue
- change tracker to tracker 2
- DO NOT SAVE and refresh the page
custom field A is empty
The attached patch worked for us, it needs some testing though
I'm testing in redmine-1.1.1 but the code looks the same in newer versions
Files
Updated by Jean-Philippe Lang almost 13 years ago
- Category set to Custom fields
- Status changed from New to Confirmed
- Assignee set to Jean-Philippe Lang
Updated by Jean-Philippe Lang almost 13 years ago
- Status changed from Confirmed to Resolved
- Target version set to 1.3.0
Good catch, this should be fixed in r8103.
Updated by Jean-Philippe Lang almost 13 years ago
- Target version changed from 1.3.0 to 1.2.3
I didn't want to take any risk with 1.2-stable but yes, this should be merged.
Updated by Bruno Medeiros almost 13 years ago
People, is it merged on 1.3-stable?
Updated by Bruno Medeiros almost 13 years ago
Oh, sorry for the question.. r8114 merges on 1.3-stable, and the ticket is not closed because it is nor merged on 1.2 yet.
Updated by Jean-Philippe Lang almost 13 years ago
- Status changed from Resolved to Closed
- Resolution set to Fixed
Merged in 1.2-stable.
Actions