Defect #13396
closed
Updating an issue with user or list format custom field, currently having value that is locked or removed, clears that field
Added by Jack Kurzecki almost 13 years ago.
Updated about 12 years ago.
Description
This is the scenario:
- issue is created and an active user is selected from the drop-down of the custom field with "user" format
- that user is later locked
- attempting to update the issue now clears the selection from the custom field
This is also happening on custom fields with "list" format, after the custom field list is updated.
It should be up to the person updating the issue to decide if new value should be selected rather than system clearing the field.
This is a data loss issue.
The workaround is to never lock (remove from the system) users that are entered on "user format" custom fields and never remove entries from "list format" custom fields, but that forces us to keep invalid selections in the interface.
A fix would be to add <option value="[currently entered value]">[currently entered value]</option> to the <select> when updating issues, if that option is not already present after generating all options for this dropdown.
- Status changed from New to Confirmed
- Target version set to 2.5.0
- Status changed from Confirmed to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Also available in: Atom
PDF