[
https://issues.apache.org/jira/browse/PDFBOX-2799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546727#comment-14546727
]
ASF subversion and git services commented on PDFBOX-2799:
---------------------------------------------------------
Commit 1679738 from [~tilman] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1679738 ]
PDFBOX-2799: remove/add original object, as suggested by Michele Balistreri
> 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: 1.8.10, 2.0.0
> Reporter: Michele Balistreri
> Labels: OCGs
> 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]