Hello
I upgraded to Syncfusion_flutter_pdfviewer 26.2.13 and can't open the following pdf. This used to work fine in version 22.1.39. It has something to do with the terminal annotations. I posted a link to the PDF below. Any help would be greatly appreciated.
ERROR MESSAGE: "type 'double' is not a subtype of type 'int?' in type cast"
http://mmdc.nrs-corps.com/reports/reports.aspx?rID=-1483061148
Garrett
Hi Garrett,
Thank you for reaching out to Syncfusion support. Currently, we are working on the reported issue and will update further details on 9th, September 2024.
Regards,
Karmegam
Hi Garrett,
We were able to reproduce the reported issue with the provided details on our end, and currently, we are analyzing it. We will provide further details on September 11th, 2024.
Regards,
Jeyalakshmi T
Hi Garrett,
We have confirmed the issue ”Type casting issue when loading annotations from a specific PDF document” as a defect in our product and fix will be included in our upcoming weekly release, which will be available on September 24, 2024.
Use the below feedback link to track the status of the reported bug.
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Regards,
Anantha Gokula Raman J
Hi Anantha,
Is there a workout I can do to get it working until the update is ready?
Thanks,
Garrett
Despite our efforts to resolve the issue and process the PDF with our library, the exception persists. This problem affects multiple pages in the specific document when retrieving annotations, and currently, there is no workaround to obtain the annotation count for those pages.
The fix for this issue will be included in our upcoming weekly release, scheduled for September 24, 2024.
Please use the feedback link below to track the status of the reported bug.
Ok, as long as it is fixed in your next update.
Thanks
Hi Garrett,
The fix for the reported issue "Failed to load annotations from the PDF document" has been included in our weekly NuGet release v27.1.50.
Kindly use the following link to refer to the latest release version,
syncfusion_flutter_pdf | Flutter package (pub.dev)
Regards,
Irfana J
Root cause: While loading annotations from a PDF document, we parse the annotation dictionary from the page and determine the annotation type. During this process, a specific URI annotation was embedded with an integer value stored as a double, which led to a type casting issue.