Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
If you reload a plugin its webpanels will not be renderable and you will get:
com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/resources/templates/jira-dnd-attachment.vm' at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:100) at com.atlassian.templaterenderer.AbstractVelocityWebPanelRenderer.render(AbstractVelocityWebPanelRenderer.java:33) at com.atlassian.plugin.web.model.ResourceTemplateWebPanel.getHtml(ResourceTemplateWebPanel.java:47) at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:141) at com.atlassian.jira.web.component.ModuleWebComponentImpl.renderModule(ModuleWebComponentImpl.java:84) at com.atlassian.jira.web.component.ModuleWebComponentImpl.renderModuleAndLetNoThrowablesEscape(ModuleWebComponentImpl.java:67) at com.atlassian.jira.web.component.ModuleWebComponentImpl.renderModules(ModuleWebComponentImpl.java:45) at com.atlassian.jira.web.action.issue.ViewIssue.renderPanels(ViewIssue.java:267) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.util.ValueStack.findValue(ValueStack.java:514) at webwork.util.ValueStack.findValue(ValueStack.java:213)
Attachments
Issue Links
- duplicates
-
JRASERVER-25694 Web-panels do not seem to load properly when referencing a velocity template that is bundled with the plugin
- Closed
- relates to
-
JRACLOUD-25450 Pluggable web panels are not really reloadable within JIRA
- Closed
-
CONFSERVER-23672 web-panels do not get upgraded after plugin upgrade
- Closed
-
FE-2672 Resources for web-panels not loading when a plugin is loaded dynamically
- Closed
- is duplicated by
-
JRADEV-9151 Loading...