Unplanned
Last Updated: 04 Dec 2020 07:18 by ADMIN
Georgi
Created on: 28 May 2020 08:20
Category: PdfProcessing
Type: Bug Report
3
PdfProcessing: InvalidCastException is thrown when importing URI Action with URI property of type PdfHexString
By specification, the URI property of URI Actions is encoded in 7-bit ASCII string. For this reason, our current implementation relies on that the property will be of type PdfLiteralString. However, in cases such as password-encrypted documents, the property may be encoded with PdfHexString which leads to InvalidCastException: 'Unable to cast object of type Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfHexString' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfLiteralString'.', on document import.
2 comments
ADMIN
Martin
Posted on: 04 Dec 2020 07:18

Hello René,

I am sorry to hear you are experiencing issues due to a currently not supported functionality. This bug is not scheduled for fixing at this point as the team is working on more demanded tasks. I have raised the priority of the task but due to the tight planning, I am unable to say when it might be implemented.

Please, make sure to continue following this item so we can notify you about status changes on it.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

René
Posted on: 01 Dec 2020 11:08

This bug is really bothering us, since we have quite a few PDFs that cannot be imported because of this exception.

Please plan this for a release in the near future!

Meanwhile can you suggest a workaround ?  For us it would be OK for now if the PDF would be imported without the URI Actions.

Regards,

René