You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Sheila Morrissey (Created) (JIRA)" <ji...@apache.org> on 2012/03/07 22:10:57 UTC

[jira] [Created] (PDFBOX-1248) PDNumberTreeNode method setNumbers( Map numbers ) sets the key for the for the Nums dictionary entry to Names rather than Nums

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


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

        

[jira] [Resolved] (PDFBOX-1248) PDNumberTreeNode method setNumbers( Map numbers ) sets the key for the for the Nums dictionary entry to Names rather than Nums

Posted by "Andreas Lehmkühler (Resolved JIRA)" <ji...@apache.org>.
     [ 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

       

[jira] [Issue Comment Edited] (PDFBOX-1248) PDNumberTreeNode method setNumbers( Map numbers ) sets the key for the for the Nums dictionary entry to Names rather than Nums

Posted by "Andreas Lehmkühler (Issue Comment Edited JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228766#comment-13228766 ] 

Andreas Lehmkühler edited comment on PDFBOX-1248 at 3/13/12 10:18 PM:
----------------------------------------------------------------------

I fixed the setter in revision 1300382 as proposed and added some other minor changes

Thanks for the contribution!
                
      was (Author: lehmi):
    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