-
Type:
Bug
-
Resolution: Obsolete
-
Priority:
Medium
-
None
-
Affects Version/s: 6.1-OD-03, 6.3
-
Component/s: User Management - User Profile
-
6.01
-
1
-
Severity 2 - Major
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Steps to replicate:
- Go to your profile
- Click on the Avatar Picture
- Select a file to upload
- Crop the selected image
- Click on Confirm, nothing happens.
When you click on on Confirm this shows up on the console:
ajax[39132742] error :
{ successful : false, status : 400, statusText : error, hasData : true, readyState : 4, requestId : 39132742, aborted : undefined, }
The following request to https://example.atlassian.net/rest/api/latest/user/avatar?username=username responds with a 400 and a response body similar to the one below:
{"errorMessages":["Can not construct instance of int from String value '24.4000244140625': not a valid Integer value\n at [Source: org.apache.catalina.connector.CoyoteInputStream@ab879d; line: 1, column: 2] (through reference chain: com.atlassian.jira.rest.v2.issue.AvatarCroppingBean[\"cropperOffsetX\"])"]}
The request body is:
{"cropperOffsetX":"24.4000244140625","cropperOffsetY":"0","cropperWidth":"150"}
For some reason a non integer value is being passed and this error happens.
- is related to
-
JRASERVER-69872 Failed to upload Avatar when change zoom level in IE11
-
- Gathering Impact
-
- relates to
-
JRACLOUD-33956 Uploading a JIRA Avatar in IE10 results in errors.
-
- Closed
-