You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/01/05 12:29:00 UTC

[jira] [Commented] (PDFBOX-4423) Merge test checkWithNumberTree() fails when widget has no StructParent

    [ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org