Velocity templates encoding content inside AUI templates

DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 14, 2013

I have Issue tab panel plugin for Jira which support AJAX loading.

When issue page is loaded directly, with tab panel url added to it everything works fine, but when I load issue page with comment tab and switch to my plugin tab, I have found that JIRA loads content inside AUI template in encoded manner. Which I presume is not a desired behaviour.

Although I was not able to reproduce this issue, but one of my customer is facing this issue, and he is using JIRA - 5.1 #768.

Sample:-

When Issue page is loaded with my plugin's tab panel url added:

<script type="text/x-template" title="issue-popup-version">
  <span>{name}</span>
</script>

When Issue page is loaded with other tab and switched to my plugins tab and template is loaded later by Jira:

<script type="text/x-template" title="issue-popup-version">
  <span>{name}</span>
</script>

Any help will be appriciated.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nikolai Derzhak March 3, 2013
I have played with upgraded jira (5.2) and plugins on staging host and found plugins conflict.
The issue went away when I disabled Field Security Plugin.
TAGS
AUG Leaders

Atlassian Community Events