New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-12339
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Yuen-Chi Lian [Atlassian]
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
JIRA

Charting Portlets not being rendered in Printable View

Created: 07/Mar/07 09:21 PM   Updated: 28/Mar/07 01:23 AM
Component/s: Portlets
Affects Version/s: 3.7.4
Fix Version/s: 3.8.1

Time Tracking:
Not Specified

File Attachments: 1. File printable.jsp (3 kB)


Participants: Anton Mazkovoi [Atlassian], Jed Wesley-Smith [Atlassian], Joel Brinkman and Yuen-Chi Lian [Atlassian]
Since last comment: 1 year, 22 weeks, 1 day ago
Resolution Date: 28/Mar/07 01:23 AM
Labels:


 Description  « Hide
Couldn't render charting portlets in Printer Friendly view of the dashboard due to missing Javascript references.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anton Mazkovoi [Atlassian] added a comment - 08/Mar/07 05:00 PM
I think the fix involves adding the WebResourceManager call to the printable decorator. Need to run past Scott to ask why this was left out.

Joel Brinkman added a comment - 13/Mar/07 01:45 PM
Will this really not be fixed until 3.8? Is there a time frame for the release of such a version?

Anton Mazkovoi [Atlassian] added a comment - 20/Mar/07 02:30 AM
Joel,

3.8 is already out but it still contains this problem. We hope to fix this in JIRA 3.8.1 which we hope to ship in a week or so.


Jed Wesley-Smith [Atlassian] added a comment - 28/Mar/07 01:19 AM
the patch is manual, but very simple.

in the file webapp/decorators/printable.jsp add the following just before the </head> element:

<%
    webResourceManagerPrintable.includeResources(out);
%>

so the whole head should look like:

<head>
	<title><%= headerAP.getDefaultBackedString(APKeys.JIRA_TITLE) %> - <decorator:title default="New Generation Issue Tracking" /></title>

    <link rel="stylesheet" type="text/css" media="print,screen" href="<%= request.getContextPath() %>/styles/combined.css">
    <link rel="stylesheet" type="text/css" media="print,screen" href="<%= webResourceManagerPrintable.getStaticResourcePrefix(String.valueOf(lookAndFeelBeanPrintable.getVersion())) %>/styles/global.css">
    <%-- Ensure that the printable style sheet is last so it overrides the previous styles --%>
    <link rel="stylesheet" type="text/css" media="print,screen" href="<%= request.getContextPath() %>/styles/combined-printable.css">
    <script language="JavaScript" type="text/javascript" src="<%=request.getContextPath()%>/includes/js/combined-javascript.js"></script>
<%
    webResourceManagerPrintable.includeResources(out);
%>
</head>

Jed Wesley-Smith [Atlassian] added a comment - 28/Mar/07 01:20 AM
attaching complete patched printable.jsp replace existing webapp/decorators/printable.jsp with new version