Details
-
Bug
-
Resolution: Fixed
-
Highest
-
JIRA Version : 6.4-OD9
Description
New implementation for avatar uploading of JIRA breaks SD when we are trying to upload new avatar for profile
Found on OD instance https://nov11.jira-dev.com (login as admin/admin) - JIRA Version : 6.4-OD9
Steps:
1. Go to any SD project
2. Go to Customer Portal page by click on "Customer Portal" link in "Settings" tab
3. Go to upload new avatar for profile
Stack-trace:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><message>com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl;</message><stack-trace>java.lang.NoSuchMethodError: com.atlassian.jira.avatar.AvatarImpl.createCustomAvatar(Ljava/lang/String;Ljava/lang/String;Lcom/atlassian/jira/user/ApplicationUser;)Lcom/atlassian/jira/avatar/AvatarImpl;
at com.atlassian.servicedesk.internal.feature.customer.user.UserAvatarCreateService.createAndAssign(UserAvatarCreateService.scala:41)
at com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService$$anonfun$updateProfile$2.apply(CustomerViewProfileService.scala:72)
at com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService$$anonfun$updateProfile$2.apply(CustomerViewProfileService.scala:51)
at scalaz.$bslash$div$class.fold(Either.scala:40)
at scalaz.$bslash$div$minus.fold(Either.scala:283)
at com.atlassian.servicedesk.internal.feature.customer.CustomerViewProfileService.updateProfile(CustomerViewProfileService.scala:49)
at com.atlassian.servicedesk.internal.rest.UserResource.updateProfile(UserResource.scala:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
...