[TIME-46] Unable to open reports to Excel

Issue #46 resolved
Andriy Zhdanov created an issue

Hi,

We are unable to open Excel reports. Any idea what causes this?

JIRA version: 3.12.3
Plugin version: normal 1.7

Exception from catalina.out:

2008-10-15 12:34:00,539 http-8443-Processor50 WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/timesheetreport/timesheet-report-excel.vm [li ne 29,column 61] : $worklog.getComment() is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:76) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:60) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:55) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:95) at com.fdu.jira.plugin.report.timesheet.TimeSheet.generateReport(TimeSheet.java:256) at com.fdu.jira.plugin.report.timesheet.TimeSheet.generateReportExcel(TimeSheet.java:292)

The filename is also quite odd.. from Time sheet report without any filled parameters the filename to save is "reportpriority="

Thx for your help!

-JP

By jpp/JP Patrikainen on Thu, 16 Oct 2008 01:31:19 -0700

Comments (2)

  1. Andriy Zhdanov reporter

    Sorry, but I cannot reproduce the problem with plugin version 1.7 and Jira version 3.12.3 (niether 1.8/3.13)
    Just to get better the mystery, does the html report show normally in browser (not excel View, but html view)?

    By azhdanov on Mon, 20 Oct 2008 09:02:09 -0700

  2. Log in to comment