Page 2 of 2

Re: DocumentViewer not showing pdfs in Chrome

Posted: 28 Aug 2021, 17:05
by Melloware
10.0.5 is now in Maven Central.

Re: DocumentViewer not showing pdfs in Chrome

Posted: 06 Sep 2021, 15:10
by petter.nilsson
Hello again Melloware,

Unfortuantely we've ran into another issue. Again only for some specific pdfs, and the error we get is:

"pdf.worker.js?ln=primefaces-extensions&v=7.0.3:1 Warning: JPX: Trying to recover from: "JPX error: Out of packets"."

Any futher info to give regarding this?

Kind regards
Petter Nilsson

Re: DocumentViewer not showing pdfs in Chrome

Posted: 06 Sep 2021, 18:16
by Melloware
Your error is a Mozilla PDF.js error: https://github.com/mozilla/pdf.js/issues/11957

Looks like someone submitted a fix recently: https://github.com/mozilla/pdf.js/pull/13698

Re: DocumentViewer not showing pdfs in Chrome

Posted: 07 Sep 2021, 13:18
by petter.nilsson
Perfect, thanks again.

Kind regards
Petter Nilsson

Re: DocumentViewer not showing pdfs in Chrome

Posted: 23 Sep 2021, 23:48
by Melloware

Re: DocumentViewer not showing pdfs in Chrome

Posted: 05 Oct 2021, 08:34
by petter.nilsson
Hello again @Melloware

Since the release of the fix in pdf.js yesterday, can we expect to see a new version of PrimefacesExtentions with this fix in?

Kind regards

Re: DocumentViewer not showing pdfs in Chrome

Posted: 05 Oct 2021, 15:16
by Melloware
Yep I plan on updating PDF.js for 10.0.7 and 11.0.0!

Re: DocumentViewer not showing pdfs in Chrome

Posted: 22 Oct 2021, 08:50
by petter.nilsson
Hello @Melloware,

Is there any time plan for when this new version might be released?

Kind Regards
Petter Nilsson

Re: DocumentViewer not showing pdfs in Chrome

Posted: 22 Oct 2021, 13:25
by Melloware
Yep let me release 10.0.7 today for you.

Re: DocumentViewer not showing pdfs in Chrome

Posted: 22 Oct 2021, 13:54
by Melloware
8.0.5 and 10.0.7 are in maven Central with this DocumentViewer PDF.js upgrade. give it a shot!