Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.4.1
-
JIRA OnDemand (build 119, JIRA 4.4.1-studio-rc3, dev2.jira.com)
-
4.04
-
Description
I was testing the "Contact Administrators" form, and noticed that the emails coming back looked a little strange. Here's what I found in the message source:
<div id="email-body"> <table id="email-wrap" align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#f0f0f0;color:#000000;width:100%;"> <tr valign="top"> <td id="email-page" style="padding:16px !important;"> <table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#ffffff;border:1px solid #bbbbbb;color:#000000;width:100%;"> <tr valign="top"> <td bgcolor="${topBackgroundColour}" style="background-color:${topBackgroundColour};color:${topTxtColour};font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;line-height:1;"><img src="$textutils.htmlEncode($jiraLogoUrl)" alt="" style="vertical-align:top;" /></td> </tr> <br/> <table cellpadding="1" cellspacing="0" border="0" bgcolor="#bbbbbb" width="100%" align="center"><tr><td> <table cellpadding="4" cellspacing="0" border="0" width="100%" bgcolor="#ffffff"> <tr bgcolor="#ffffff"><td> Sorry, please ignore this. </td></tr> </table> </td></tr></table> </table> </td><!-- End #email-page --> </tr> <tr valign="top"> <td style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:10px;line-height:14px;padding: 0 16px 16px 16px;text-align:center;"> This message is automatically generated by JIRA.<br /> If you think it was sent incorrectly, please contact your <a style='color:${textLinkColour};' href='/secure/ContactAdministrators!default.jspa'>JIRA administrators</a>.<br /> For more information on JIRA, see: <a style='color:${textLinkColour};' href='http://www.atlassian.com/software/jira'>http://www.atlassian.com/software/jira</a> </td> </tr> </table><!-- End #email-wrap --> </div><!-- End #email-body -->
There are a few issues I found:
- configurable CSS colors are not being substituted in correctly
- $textutils.htmlEncode($jiraLogoUrl) — broken logo image (this instance uses a custom logo)
- Relative "JIRA administrators" URL — /secure/ContactAdministrators!default.jspa
I was unable to determine whether this is an OnDemand-specific issue or a general JIRA problem.