Project

General

Profile

Actions

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 about 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

This is the scenario:

  1. issue is created and an active user is selected from the drop-down of the custom field with "user" format
  2. that user is later locked
  3. 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.

Actions #1

Updated by Jack Kurzecki over 10 years ago

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.

Actions #2

Updated by Jack Kurzecki over 10 years ago

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.

Actions #3

Updated by Jean-Philippe Lang over 10 years ago

  • Status changed from New to Confirmed
  • Target version set to 2.5.0
Actions #4

Updated by Jean-Philippe Lang over 10 years ago

  • Status changed from Confirmed to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in 2.5.0.

Actions

Also available in: Atom PDF