-
Type:
Bug
-
Resolution: Obsolete
-
Priority:
Medium
-
Component/s: Integration - Identity
-
1
-
Severity 2 - Major
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? 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-33956 Uploading a JIRA Avatar in IE10 results in errors.
-
- Closed
-