Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Error while loading the content & Invalid parameter value detected. #86

Open
drpawar opened this issue Jun 22, 2018 · 2 comments
Open

Comments

@drpawar
Copy link

drpawar commented Jun 22, 2018

Hi,

I am getting 2 errors in ionic 1 project whenever I click on hardware back button of android device.

Error while loading the content.
AND
Invalid parameter value detected.

Here is console log:-
Uncaught TypeError: Cannot read property 'getDestination' of null
at PDFLinkService_navigateTo [as navigateTo] (pdf.js:12475)
at PDFLinkService_setHash [as setHash] (pdf.js:12596)
at PDFHistory.pdfHistory_goTo [as _goTo] (pdf.js:16154)
at pdfHistoryPopstate (pdf.js:15941)

PDFLinkService_navigateTo: "null" is not a valid destination array.

pdferror

And Also <pdfjs-viewer on-init="$ctrl.onInit()"></pdfjs-viewer> not working.

Please let me know if I am doing something wrong.

@sedran
Copy link

sedran commented Sep 25, 2018

+1 for the issue.

@TINITUS
Copy link

TINITUS commented Oct 16, 2018

You are not, @drpawar . With AngularJs application we have similar output in the console. we figured that going in HTML5 mode fixes the output. However I would be glad to see fix for this in non HTML5 mode for AngularJS as that mode give us bunch of headaches with SVGs in FireFox and Safari.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants