play1 icon indicating copy to clipboard operation
play1 copied to clipboard

PDF files all come out blank

Open danielalexiuc opened this issue 6 years ago • 2 comments

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.

  1. Place a pdf file in the /public folder
  2. Serve it through the default "staticDir:public" route
  3. PDF should be displayed correctly in the browser

Actual Behavior

Please provide a description of what actually happens, working from the same starting point.

  1. 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 avatar Aug 09 '19 00:08 danielalexiuc

@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?

sant0s avatar Aug 09 '19 10:08 sant0s

Thanks for checking it out, I'll try to upgrade and reproduce on Play 1.5.3.

danielalexiuc avatar Aug 09 '19 13:08 danielalexiuc