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

PDOptionalContentProperties.setGroupEnabled not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.10, 2.0.0
    • 1.8.10, 2.0.0
    • PDModel
    • Patch

    Description

      PDOptionalContentProperties.setGroupEnabled does not work properly, because it tries to remove the wrong object from the OFF/ON dictionaries (the result of toDictionary, instead of the original object, which can be a different instance so the remove method does not find it). The attached patch fixes this issue.

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            briksoftware Michele Balistreri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: