play1
play1 copied to clipboard
PDF files all come out blank
Play Version (1.5.x / etc)
1.5.1
Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)
Windows 10 / Ubuntu 14.04
JDK (Oracle 1.8.0_72, OpenJDK 1.8.x, Azul Zing)
1.8.0_181 / 1.8.0_222
Library Dependencies
Expected Behavior
Please describe the expected behavior of the issue, starting from the first action.
- Place a pdf file in the /public folder
- Serve it through the default "staticDir:public" route
- PDF should be displayed correctly in the browser
Actual Behavior
Please provide a description of what actually happens, working from the same starting point.
- PDF is served, but pages are all blank
Reproducible Test Case
This bug seems to have been introduced sometime since Play 1.2.6.2, PDF files were working correctly then.
@danielalexiuc Just tried this out with Play 1.5.3 and could not reproduce it i.e. PDF rendering is ok. Wouldn't upgrading to Play 1.5.3 be possible?
Thanks for checking it out, I'll try to upgrade and reproduce on Play 1.5.3.