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

Bug in PDFMergerUtility#mergeFields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.28
    • 2.0.30
    • Utilities
    • None

    Description

      Method:

      PDFMergerUtility#mergeFields(PDFCloneUtility cloner, PDField destField, PDField srcField)

      There is the following code:

      if (destField.getFieldType() == "Tx" && destField.getFieldType() == "Tx")

      I think the second destField should be srcField?

      An I think you should compare with equals here and not with ==

       

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            sz5000 Stefan Ziegler
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: