Skip to content

Commit ae0da51

Browse files
Fix issue 103062. PDF files were not being generated
1 parent 40ab76a commit ae0da51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/main/java/com/genexus/reports/GXReport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ else if (implementation.equals("ITEXT8"))
7979
reportHandler = new PDFReportItext8(context);
8080
else
8181
reportHandler = new PDFReportPDFBox(context);
82-
((GXReportPDFCommons) reportHandler).setOutputStream(httpContext.getOutputStream());
82+
((GXReportPDFCommons) reportHandler).setOutputStream(getOutputStream());
8383
} catch (Exception e) {
8484
log.error("Failed to set output stream: ", e);
8585
}

0 commit comments

Comments
 (0)