You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/01/05 14:17:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Tilman Hausherr updated PDFBOX-4423:
------------------------------------
    Labels: StructureTree merge  (was: StructureTree)

> 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, merge
>             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