[#2766] - Invalid HTML output via REST v2 API

Category:
Bug report
Priority:
Urgent
Status:
Resolved
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
1

HTML output generated via GET method of REST v2 API is invalid - HTML header is completely missing.

GET reguest:
http://jasper:8080/jasperserver/rest_v2/reports/Reports/ProductionStatus...

Response (leading <html>, <head>, <body> is missing):
<script type='text/javascript' src='/jasperserver/scripts/jquery/js/jquery-1.7.1.min.js'></script><a name="JR_PAGE_ANCHOR_0_1"></a>
<div class="jrPage" style="background-color: #FFFFFF;position:relative;width:1920px;height:1080px;">
<span style="position:absolute;left:0px;top:0px;width:1919px;height:1079px;background-color: #000000; border: 1px solid #000000; "></span>
<div style="position:absolute;left:200px;top:490px;width:1498px;height:80px;padding: 10px; overflow: hidden;"><span style="position:absolute;left:10px;top:10px;width:1498px;height:80px;text-align: center; display:table;text-indent: 0px; white-space: nowrap; "><span style="display:table-cell;vertical-align:middle;"><span style="font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; color: #FF8000; font-size: 50px; line-height: 1; *line-height: normal; font-weight: bold;">Test</span></span></span></div>
</div>
</td><td width="50%">&nbsp;</td></tr>
</table>
</body>
</html>

v5.0.0
Rest v2 report API
marek_1's picture
Joined: Mar 4 2013 - 5:08am
Last seen: 6 years 8 months ago

2 Comments:

#1
  • Assigned:nobody»

I have the very same issue on AWS with version 5.0.3

#2
  • Status:New» Resolved
  • Assigned:» anonymous

Fixed in 5.1

Feedback