[#3971] - RunReportServiceImpl executing report export 2 times for 1 request

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

jasperReports server 5.6.0

rest v2 api requesting report in the form http://localhost:8080/jasperserver/rest_v2/reports/reports/samples/Emplo...

com.jaspersoft.jasperserver.remote.services.ExportsContainer#executions contains 2 com.jaspersoft.jasperserver.remote.services.ExportExecution objects for a single report request via the rest v2 api.

The exportContainer can be found as an attribute of the ReportExecution (com.jaspersoft.jasperserver.remote.services.ReportExecution#exports).

It appears that com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl#getReportOutputFromRawParameters method is calling :
1. com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl#getReportExecutionFromRawParameters which is causing the first export execution.
2. com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl#getOutputResource(java.lang.String, com.jaspersoft.jasperserver.remote.services.ExportExecutionOptions) which is causing the second export execution.

v5.6.0
Rest v2 report API
maynalem's picture
Joined: Jul 11 2014 - 11:02am
Last seen: 5 years 6 months ago
Feedback
randomness