Category: | Bug report |
Priority: | Urgent |
Status: | New |
Project: | Severity: | Major |
Resolution: | Reopened |
|
Component: | Reproducibility: | Always |
Assigned to: |
The "Query Executor mode" in ReportQueryDialog.populateDataPreview() doesn't populate the specialParameters from the IReportConnection.
Solvable by adding:
connection.getSpecialParameters(hm);
before:
JasperFillManager.fillReport(jasper_report_obj,hm);
2 Comments:
It's now open for a month. I'd fix it myself, if I had the rights to commit.
I'm very sorry - I found that the submitted diff file is mistaken (it was the first I ever created.)
Since I can't attach another one, here is the correct one as text:
Index: ReportQueryDialog.java
===================================================================
--- ReportQueryDialog.java (revision 794)
+++ ReportQueryDialog.java (working copy)
@@ -2308,6 +2308,7 @@
else // Query Executor mode...
{
//Thread.currentThread().setContextClassLoader( reportClassLoader );
+ connection.getSpecialParameters(hm);
JasperFillManager.fillReport(jasper_report_obj,hm);
}
}