Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load document after error #855

Closed
andjankodar opened this issue Jan 21, 2022 · 0 comments · Fixed by #856
Closed

Can't load document after error #855

andjankodar opened this issue Jan 21, 2022 · 0 comments · Fixed by #856
Labels
Milestone

Comments

@andjankodar
Copy link

Bug Report or Feature Request (mark with an x)
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [x] Bug report -> please search issues before submitting
- [ ] Feature request
- [ ] Documentation issue or request

Steps to reproduce:

  1. Set the src to a document that can be loaded -> the lastLoaded variable gets the document url
  2. Set the src to a document that fails to load -> the lastLoaded variable remains with the previous value
  3. Set the src to the first document again -> the document is not loaded again as the src matches lastLoaded. However the _pdf variable has been cleared and an error occurs in get validPageNumbers

lastLoaded

getValidPageNumber
.

@VadimDez VadimDez added the bug label Feb 19, 2022
@VadimDez VadimDez added this to the 8.0.1 milestone Feb 19, 2022
@VadimDez VadimDez linked a pull request Feb 19, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants