Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
- When migrating from Cloud to Server, the Request Type icons are different and cause a lot of errors
Steps to Reproduce
- Install Service Desk in Cloud
- Create one or more Service Desk projects.
- Create an XML Backup for Server
- Restore the XML Backup on JIRA Server.
- Go to the SD projects and see the Queues or the Request Types.
Expected Behavior
- The icons for the request types are shown correctly.
Actual Behavior
- There are several broken icons:
- Each broken icon throws a logging error, flooding the log files pretty quickly with a File not found error:
2018-01-26 14:00:41,130 http-nio-8080-exec-22 ERROR [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=a375e86d-abab-4188-aa71-b262a5ddd0d2, interpretedMsg=, cause=java.io.IOException: File not found, stacktrace=java.io.IOException: File not found at com.atlassian.jira.avatar.AvatarManagerImpl.getAvatarInputStream(AvatarManagerImpl.java:388) [classes/:?] at com.atlassian.jira.avatar.AvatarManagerImpl.lambda$processAvatarData$0(AvatarManagerImpl.java:367) [classes/:?]
Cause
- There are system Request Type icons in Cloud that don't exist in Server (select * from avatar where avatartype = 'SD_REQTYPE') Difference Request types Cloud vs server.xlsx. When an XML backup is generated, the references to the icons and the issues that use them are include in the data. There are about double the icons in Cloud than in Server. Even though the missing icons are considered 'avatars', the request type icons are not included in the 'avatars' directory, possibly because the files are actually inside the jira-servicedesk-xx.yy.zz.jar file (at least on Server side), in the directory img/request-type-icons (you can find them extracting the content of the jar file with a compression tool), so when generating the Export file from Cloud, the avatars/icons for the request types are not include din the 'avatars' directory.
Workaround
- None
Attachments
Issue Links
- is cloned from
-
JSDSERVER-5629 When migrating from Cloud to Server, the Request Type icons are different and cause a lot of errors
- Gathering Impact