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

ASF subversion and git services commented on PDFBOX-2708:
---------------------------------------------------------

Commit 1666698 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1666698 ]

PDFBOX-2708, PDFBOX-2423: use removeObject() instead of remove() to delete a 
page from the tree, update count only when successful, by Radomir Mladenovic

> 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]

Reply via email to