You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andrea Vacondio (JIRA)" <ji...@apache.org> on 2015/09/11 21:27:45 UTC
[jira] [Created] (PDFBOX-2968) PDDocumentNameDictionary getDests
applies a broken fallback logic
Andrea Vacondio created PDFBOX-2968:
---------------------------------------
Summary: PDDocumentNameDictionary getDests applies a broken fallback logic
Key: PDFBOX-2968
URL: https://issues.apache.org/jira/browse/PDFBOX-2968
Project: PDFBox
Issue Type: Bug
Components: PDModel
Affects Versions: 1.8.10, 2.0.0
Reporter: Andrea Vacondio
Priority: Minor
As discussed here http://mail-archives.apache.org/mod_mbox/pdfbox-users/201509.mbox/browser
Currently the PDDocumentNameDictionary::getDests looks for destinations in the Names dests item which is a name tree. If nothing is found, the algorithm fetches the Catalog dests and wraps them in a PDDestinationNameTreeNode, which is wrong since the Catalog dests are a dictionary and not a name tree, resulting in a warning message: "NameTreeNode does not have "names" nor "kids" objects"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org