Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.4.5
-
None
Description
When updating user details in JIRA (that is, full name and email), the change isn't reflected until the cache is refreshed.
A quick debug showed that the cause of this problem is that CrowdPropertySet.setString() is not replacing the email and username attributes, but is appending them to the end of the array. This still works in Crowd probably because it iterates through the array and sets the values in a map or something, so the last value is used. Meanwhile in JIRA, only the first value in the array is used, so the changes aren't reflected until the cache is expired.