-
Notifications
You must be signed in to change notification settings - Fork 510
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
doc.xref_get_key for javascript cannot find object #929
Comments
Confusing. |
Another weird observation: |
I am not sure I understand. To give more context we 'sanitize' PDFs at the beginning of our pipeline by loading each pdf, then |
Anway, previously that part of the method used the outcome of |
Your error can only occur if the xref I am investigating does exist, but contains no object definition. As I wrote in previous post, this situation was not detected previously. |
Could you send me a printout of |
No, wait, that would be "" right? |
What I can do:
|
What I was referring to: in your trace output, |
Sorry - I was wrong, forget my last post please. |
There is a pre-version 1.18.10 here that should resolve the problem. |
fixed in just published v1.18.10 |
Describe the bug
Some documents, that contain Javascript, throw a cannot find object in xref exception when using the
.scrub
method.To Reproduce
Unfortunately I cannot provide a document to produce this because the documents contain PII (I attached a screenshot of the exception trace, hope that is enough). The issue is not specific to a single document as we have seen the same exception occur with 468 different PDF documents.
Exception Screenshot (from Sentry)
Your configuration
The text was updated successfully, but these errors were encountered: