-
Type:
Bug
-
Resolution: Low Engagement
-
Priority:
Low
-
None
-
Affects Version/s: 7.10.2
-
Component/s: Web Resources Manager
-
7.1
-
Severity 3 - Minor
Summary
Vendor has a JIRA Server plugin that has a web-panel configured at location "servicedesk.portal.subheader" as such:
/src/main/resources/atlassian-plugin.xml
<web-panel key="view26-sd-portal-reports-webpanel" location="servicedesk.portal.subheader"> <condition class="com.view26.jira.common.OrganizationAvailableCondition"/> <context-provider class="com.view26.jira.webpanel.WebPanelContext" /> <resource name="view" type="velocity" location="templates/portal.vm" /> </web-panel>
This velocity template uses $webResourceManager.requireResource to load "com.atlassian.auiplugin:dialog2"
/src/main/resources/templates/portal.vm
$webResourceManager.requireResource("com.atlassian.auiplugin:dialog2")
In Jira 7.10.2 with ServiceDesk 3.13.2
Customer Portal loads properly when plugin key in pom.xml is 'com.view26.jira'
/pom.xml
<groupId>com.view26</groupId>
<artifactId>jira</artifactId>
But Customer portal does not load when plugin key is changed to 'com.view26.servicedesk-report.jira' with everything else remaining the same.
/pom.xml
<groupId>com.view26</groupId>
<artifactId>servicedesk-report.jira</artifactId>
The blank screen has a console error - "Uncaught Error: No aui/dialog2"
Sample App: jira.zip
Background and Notes
- I have replicated this issue for their app but with a fresh app with the same plugin keys, velocity template with webResourceManager.requireResource, and appropriate versions, I don't have the issue. Sample app: myplugin.zip

- Vendor needs help finding out the root cause as this is a blocker
- relates to
-
DEVHELP-2304 Loading...