Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12868

Customfield User Picker "corrupted" after a user is deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.11
    • None
    • 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);
      
      ...
      

              dylan@atlassian.com Dylan Etkin [Atlassian]
              ekua 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