[
https://issues.apache.org/jira/browse/PDFBOX-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radomir Mladenovic updated PDFBOX-2708:
---------------------------------------
Attachment: page-remove-fix-pdfbox-2708.diff
Attaching fix diff.
Yes, this was working before. I think regression was made between Sep 17 last
year (as I was using that build for some time) and Feb 22 (when I pulled from
git to build an update).
> PDDocument.removePage() deletes the last page regardless of parameter passed
> ----------------------------------------------------------------------------
>
> Key: PDFBOX-2708
> URL: https://issues.apache.org/jira/browse/PDFBOX-2708
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Radomir Mladenovic
> Priority: Blocker
> Labels: regression
> Fix For: 2.0.0
>
> Attachments: page-remove-fix-pdfbox-2708.diff
>
>
> This can be easily reproduced using provided example
> org.apache.pdfbox.examples.pdmodel.RemoveFirstPage that will delete the last
> page from document instead the first one.
> I think this bug was introduced within the last 3 months as my older snapshot
> build worked fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]