Category: | Bug report |
Priority: | Normal |
Status: | New |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
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.