Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2708

PDDocument.removePage() deletes the last page regardless of parameter passed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • PDModel

    Description

      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.

      Attachments

        1. page-remove-fix-pdfbox-2708.diff
          1 kB
          Radomir Mladenovic

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              radomirml Radomir Mladenovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: