-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X
-
Fix Version/s: 7.0.0 DXP FP58, 7.0.0 DXP SP9, 7.0.X
-
Component/s: DM
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:0.25
-
Fix Priority:3
-
Git Pull Request:
Description
Specific PDF previews with PDFBOX is broken when integrated in Liferay.
According to https://www.liferay.com/downloads/third-party-software, The version of PDFBOX used in Lifefay is 1.8.12.
I tried to create a image with the following command, and the PDF previews were created correctly:
java -jar pdfbox-app-1.8.12.jar PDFToImage sample.pdf
However, when we upload the file and Liferay attempts to generate the preview, there is a problem with image generation:
Steps to reproduce
- Setup DXP and install DE-54
- Start Liferay and login as test@liferay.com
- Navigate to Liferay > Content > Document and Media
- Add a basic document and show the pdf preview
(please use attached sample.pdf) sample.pdf
Actual result
The created PDF preview with PDFBOX is broken.
Expected result
PDF preview is created without any problems, like the image created in standalone PDFBOX
Reproduced in
DE-54
7.0.x: GIT HASH: bbc1c35ce1391a15757899458ed706d8d033a419
Not reproduced in
master: GIT HASH: 1f3b51f4c3412a2b14f6956e0416ce64db43dec6
- is related to
-
LPS-80312 Before 7.1 release, update third party dependencies libraries to latest micro version
-
- Closed
-