View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|12197||Bug reports||[All Projects] Statistics||public||2017-03-11 11:48||2018-05-23 12:19|
|Target Version||Fixed in Version|
|Summary||12197: PDF-Download of single question statistics is not working on every browser (file header issue)|
|Description||Reporting this issue for a user. Was able to reproduce on newer builds as well.|
Original thread under Additional information.
###Quote for the forum:
When we "View statistics", and display the results in HTML, there is a small PDF icon at the top right of each question.
On MacOS (tested on desktop and iPad), when we click on this icon, we start to see the animated "rendering" icon in the middle of the screen, and then nothing happens.
In Windows, on all browsers we tested, this problem does not occur, and we see the rendering icon for a few seconds, and then the popup window (or a warning that a popup was attempted -- depending on browser settings) is displayed, and we can then view the PDF.
I was able to reproduce the issue under all browers on iOS 10.
Chrome under Windows 7 shows a popup-block when clicking the PDF button.
When allowing the popup the PDF is displayed in an extra window, where the whole PDF data is base64 in the URL.
So there is a data declaration missing, so that the filetype is not correctly handled by every browser.
|Steps To Reproduce||Just click the PDF icon under certain browser / platforms.|
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||2.64.Z|
|I will donate to the project if issue is resolved||No|
|Browser||Different ones, see ticket.|
|Database & DB-Version||N/A|
|Operating System (Server)||N/A|
|Webserver software & version||N/A|