DocumentViewer not showing pdfs in Chrome

Community Driven Extensions Project
Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

28 Aug 2021, 17:05

10.0.5 is now in Maven Central.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

petter.nilsson
Posts: 8
Joined: 18 Aug 2021, 08:29

06 Sep 2021, 15:10

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

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

06 Sep 2021, 18:16

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
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

petter.nilsson
Posts: 8
Joined: 18 Aug 2021, 08:29

07 Sep 2021, 13:18

Perfect, thanks again.

Kind regards
Petter Nilsson

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

23 Sep 2021, 23:48

PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

petter.nilsson
Posts: 8
Joined: 18 Aug 2021, 08:29

05 Oct 2021, 08:34

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

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

05 Oct 2021, 15:16

Yep I plan on updating PDF.js for 10.0.7 and 11.0.0!
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

petter.nilsson
Posts: 8
Joined: 18 Aug 2021, 08:29

22 Oct 2021, 08:50

Hello @Melloware,

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

Kind Regards
Petter Nilsson

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

22 Oct 2021, 13:25

Yep let me release 10.0.7 today for you.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

22 Oct 2021, 13:54

8.0.5 and 10.0.7 are in maven Central with this DocumentViewer PDF.js upgrade. give it a shot!
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests