Customfield User Picker "corrupted" after a user is deleted

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 3.11
    • Affects Version/s: None
    • Component/s: Issue - Fields
    • None

      If a customfield holds a value of a deleted user, it can't be updated/read correctly. This is due to the object returned by the userConverter.getUser() is null (when it does the existingValue check, and a new value is inserted into the database:

              if (existingValue == null)
              {
                  if (newValue != null)
                  {
                      newValue = processValueThroughRenderer(fieldLayoutItem, newValue);
                      createValue(issue, newValue);
      
      ...
      

              Assignee:
              Dylan Etkin [Atlassian]
              Reporter:
              Eddie Kua [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified