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

PDOptionalContentProperties.setGroupEnabled not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.10, 2.0.0
    • Fix Version/s: 1.8.10, 2.0.0
    • Component/s: PDModel
    • Labels:
    • Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: