-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.12.3, 8.3.0
-
Component/s: User Management - Others
-
None
-
7.12
-
1
-
Severity 3 - Minor
Summary
Failed to upload Avatar when change zoom level in IE11.
Environment
- Windows 10
- IE 11
- Jira 7.12.3, Jira 8.3.0
Steps to Reproduce
- Go to your profile
- Zoom in on IE11 window
- Click on the Avatar Picture
- Select a file to upload
- Crop the selected image into small pieces
- Click on Confirm button
Expected Results
Cropped image uploaded normally.
Actual Results
Console display following error.
ajax[1551692] error : {
successful : false,
status : 400,
statusText : error,
hasData : true,
readyState : 4,
requestId : 1551692,
aborted : undefined,
}
POST request to <BASE_URL>/rest/api/latest/user/avatar?username=<USER_NAME>&atl_token=<TOKEN> endpoint return 400 error.
Request body :
{"cropperOffsetX":"90","cropperOffsetY":"90","cropperWidth":"78.79998779296875"}
Response :
{"errorMessages":["Can not construct instance of int from String value '78.79998779296875': not a valid Integer value\n at [Source: org.apache.catalina.connector.CoyoteInputStream@6d994269; line: 1, column: 45] (through reference chain: com.atlassian.jira.rest.v2.issue.AvatarCroppingBean[\"cropperWidth\"])"]}
Notes
Ref. JRASERVER-33956
Workaround
- Reset browser zoom setting
- Upload square image and crop full size of image
- relates to
-
JRASERVER-33956 Uploading a JIRA Avatar in IE10 results in errors.
-
- Closed
-