Feature #12251
closed
Custom fields: 'Multiple values' should be able to be checked and then unchecked
Added by Elizabeth Schafer about 12 years ago.
Updated almost 12 years ago.
Description
In Administration --> Custom Fields --> Issues:
- Click on one of the custom fields that you have set up as a list.
- Select the "Multiple values" checkbox and click Save.
- Click into the same custom field again.
The "Multiple values" checkbox is now disabled, so you can't uncheck it. In my case, I selected "Multiple values" on a custom field that's used by many projects, but changed my mind and now I'm stuck with it.
At the very least, I think there should be a warning that you won't be able to revert to single values.
This is tested on the BitNami Redmine 2.1.2 stack.
I realize the risk involved with this, but agree some solution needs to be in place... I'm sure most people who check the box have no idea it's a commitment until after the fact.
You can always, of course, go into the database manually, find the custom fields table, and change that field's value in the 'multiple' column to 0.
- Subject changed from 'List' custom fields: 'Multiple values' should be able to be checked and then unchecked to Custom fields: 'Multiple values' should be able to be checked and then unchecked
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 2.3.0
- Resolution set to Fixed
Fixed in r11167. You are now able to uncheck it. It will remove duplicate values and preserve only one value for each item.
Hi there,
is there a reference which values getting lost? Alphabetically sorted or in which order?
Jean-Philippe Lang wrote:
Fixed in r11167. You are now able to uncheck it. It will remove duplicate values and preserve only one value for each item.
Am I the only one who interprets the warning message as if only values occuring more than once will be removed? I'm not sure they actually can, but that's my idea of 'duplicate'.
Nicklas Holm wrote:
Am I the only one who interprets the warning message as if only values occuring more than once will be removed? I'm not sure they actually can, but that's my idea of 'duplicate'.
Right, r11218 changes 'duplicate' to 'multiple' in the warning message.
Also available in: Atom
PDF