You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (Jira)" <ji...@apache.org> on 2020/10/30 18:17:00 UTC

[jira] [Commented] (PDFBOX-3891) Missing data if document is merged with itself

    [ https://issues.apache.org/jira/browse/PDFBOX-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223830#comment-17223830 ] 

Maruan Sahyoun commented on PDFBOX-3891:
----------------------------------------

That's what happens here.

Loading the form with Acrobat
a) AcroForm with empty Fields array -> no form fields are created see  [^merge-test-acrobat.pdf] 
b) AcroForm with empty Fields array and NeedAppearances set see  [^merge-test-na.pdf]  -> form fields are created see  [^merge-test-na-acrobat.pdf] 

Merge of form with Acrobat
c) always creates form fields

a) and b) are already handled by PDFBOX-4985. c) is open

> Missing data if document is merged with itself
> ----------------------------------------------
>
>                 Key: PDFBOX-3891
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3891
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm, Utilities
>    Affects Versions: 2.0.7
>            Reporter: Haiko Strotbek
>            Priority: Major
>         Attachments: MergeTest.java, merge-test-acrobat.pdf, merge-test-merged.pdf, merge-test-na-acrobat.pdf, merge-test-na.pdf, merge-test.pdf
>
>
> When using PDFMergerUtility to merge the attached PDF twice into one document there may be data missing.
> To be more specific: In this case the data on page 1 looks fine, but page 28 is empty. My expectation is that page 28 is identical to page 1 (the document has 27 pages).
> Of course that's not a common use case. But I can reproduce this behaviour with other documents which are not identical, but similar.
> I think this might be related to PDFBOX-3111 and PDFBOX-3218.
> What is the trigger for this and is there a workaround?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org