[
https://issues.apache.org/jira/browse/PDFBOX-2799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michele Balistreri updated PDFBOX-2799:
---------------------------------------
Attachment: PDOptionalContentProperties-enable-fix.diff
fixes PDFBOX-2799
> PDOptionalContentProperties.setGroupEnabled not working
> -------------------------------------------------------
>
> Key: PDFBOX-2799
> URL: https://issues.apache.org/jira/browse/PDFBOX-2799
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Michele Balistreri
> Attachments: PDOptionalContentProperties-enable-fix.diff
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]