Hello,
I had 2 web-resources in my Jira Plugin. With the first one common-resource everything is fine and the browser load the soy file.
But the second on doesn't load. In Networkaktivity in Firefox I see a 500, but on the console their is no error shown. Can somebody help me, or gibe me a hint to debug this?
<!-- add our web resources -->
<web-resource key="common-resources" name="transfer Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<dependency>com.atlassian.auiplugin:jquery-ui-other</dependency>
<dependency>com.atlassian.auiplugin:dialog2</dependency>
<dependency>com.atlassian.auiplugin:aui-form-validation</dependency>
<dependency>com.atlassian.auiplugin:aui-flag</dependency>
<dependency>com.atlassian.auiplugin:aui-experimental-soy-templates</dependency>
<!-- transform calls to AJS.getText() inside JS files -->
<transformation extension="js">
<transformer key="jsI18n"/>
</transformation>
<!-- transform Soy templates into JS -->
<transformation extension="soy">
<transformer key="soyTransformer">
<functions>com.atlassian.confluence.plugins.soy:soy-core-functions</functions>
</transformer>
</transformation>
<resource type="download" name="transfer.css" location="/css/transfer.css"/>
<resource type="download" name="common.js" location="/js/common.js"/>
<resource type="download" name="images/" location="/images"/>
<resource name="common-soy.js" type="download" location="/templates/common.soy"/>
<context>transfer</context>
</web-resource>
<web-resource key="admin-resource" name="Admin Resource">
<!-- transform calls to AJS.getText() inside JS files -->
<transformation extension="js">
<transformer key="jsI18n"/>
</transformation>
<!-- transform Soy templates into JS -->
<transformation extension="soy">
<transformer key="soyTransformer">
</transformer>
</transformation>
<resource type="download" name="admin.js" location="/js/admin.js"/>
<resource type="download" name="admin-soy.js" location="/templates/admin.soy"/>
<context>transfer</context>
</web-resource>
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.