Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1248

PDNumberTreeNode method setNumbers( Map numbers ) sets the key for the for the Nums dictionary entry to Names rather than Nums

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: PDModel
    • Labels:
    • Environment:
      Windows 7; JDK 1.6

      Description

      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 );

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              smmorrissey Sheila Morrissey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: