"PDF" menu function on "Reports" not displaying/downloading file

Using any query report, e.g. “/desk#query-report/Customer Addresses And Contacts” and selecting “PDF” from “Menu” nothing happens to download or view file.

I can see in the console that the url is succesfully called and PDF content is indeed returned in the response:

/api/method/frappe.utils.print_format.report_to_pdf

Response:

%PDF-1.4
1 0 obj
<<
/Title

However it appears the javascript to handle it doesn’t do anything with the data.

Any advice? Or is this a bug?

I tried the same and a popup was blocked. It was the PDF of the report. Maybe your browser is doing the same.

1 Like

Doh! Thank you. You’re correct- thanks for the tip- it happens so fast that I didn’t notice.