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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to