[
https://issues.apache.org/jira/browse/PDFBOX-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16734884#comment-16734884
]
ASF subversion and git services commented on PDFBOX-4423:
---------------------------------------------------------
Commit 1850480 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1850480 ]
PDFBOX-4423: load test file
> Merge test checkWithNumberTree() fails when widget has no StructParent
> ----------------------------------------------------------------------
>
> Key: PDFBOX-4423
> URL: https://issues.apache.org/jira/browse/PDFBOX-4423
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.13
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Labels: StructureTree
> Fix For: 2.0.14, 3.0.0 PDFBox
>
> Attachments: 000746.pdf
>
>
> I tried merging a large amount of digitalcorpora files and it failed
> immediately in checkWithNumberTree(). I narrowed it down to a single file -
> that one has fields with widgets with no StructParent. PDFBox returns these
> as "0" which would be a valid number. These getters should return -1 instead
> and callers should check the result.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]