-
Notifications
You must be signed in to change notification settings - Fork 833
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
Error opening a PDF document in flutter Web using SfPdfViewer "There was an error opening this document" #2252
Comments
Hi @cfiorillo , We are able to replicate the reported issue that the specific document is not loaded in the Flutter PDF Viewer. Currently, we are validating this issue and we will update further details once we find the root cause of this issue Regards, |
@Deepak1799 any news on this issue? |
Hi @cfiorillo, Package link: syncfusion_flutter_pdf 28.2.5 Root cause: The shared PDF document contains checkbox fields. While retrieving the "isChecked" value of a checkbox field, a TypeError occurs, causing the document to fail to load. We appreciate your support and patience in waiting for this release. Please feel free to reach out if you need any further assistance. |
Hi @immankumarsync, |
Hello @immankumarsync, I'm facing the same error. I even updated to syncfusion_localizations: 28.2.9, syncfusion_flutter_pdfviewer: ^28.2.9 and syncfusion_flutter_core: ^28.2.9 but still get the error "There was an error opening this document". The PDF that I'm trying to open is also an editable one, with checklist and spaces to write numbers or letters. It also has a button to clean all the written data in the PDF. I can't share the PDF since it is a private document, but I hope you can look into it. Thank you in advance. |
Hi @NaiaraManeiro, |
Hello @immankumarsync, Here is the document that was giving me the error. file.pdf |
Hello @immankumarsync, Did you find any solution for the problem? |
Hi @NaiaraManeiro, due to the complex nature of this issue we are still validating this issue, and we will provide further updates once we find the root cause of this issue. |
Bug description
Open a specific PDF document in flutter web using SfPdfViewer returns an error. In attach the offending PDF document.
FailingDocument.pdf
Steps to reproduce
flutter create testpdf
flutter pub add syncfusion_flutter_pdfviewer
The error is raised, no errors in console
Code sample
Code sample
main.dart
index.html
pubspec.yaml
Screenshots or Video
Video demonstration
ScreenRecBug.mov
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
Web
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: