You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Resolved JIRA)" <ji...@apache.org> on 2012/03/13 23:16:42 UTC
[jira] [Resolved] (PDFBOX-1248) PDNumberTreeNode method setNumbers(
Map numbers ) sets the key for the for the Nums dictionary entry to Names
rather than Nums
[ https://issues.apache.org/jira/browse/PDFBOX-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-1248.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Assignee: Andreas Lehmkühler
I fixed the setter in revision 1300382 as proposed and added some other minor changes
> PDNumberTreeNode method setNumbers( Map numbers ) sets the key for the for the Nums dictionary entry to Names rather than Nums
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-1248
> URL: https://issues.apache.org/jira/browse/PDFBOX-1248
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.6.0
> Environment: Windows 7; JDK 1.6
> Reporter: Sheila Morrissey
> Assignee: Andreas Lehmkühler
> Labels: pdfbox
> Fix For: 1.7.0
>
>
> PDNumberTreeNode setNumbers(Map numbers) uses "Names" rather than "Nums" as key for Nums entry in NumberTreeNode dictionary.
> Any number tree node updated this way will, upon execution of getNumbers(), return null, and will in fact be an invalid NumberTreeNode
> Line in method with problem is #256:
> node.setItem( "Names", array );
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira