You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Michele Balistreri (JIRA)" <ji...@apache.org> on 2015/05/13 20:07:59 UTC
[jira] [Created] (PDFBOX-2799)
PDOptionalContentProperties.setGroupEnabled not working
Michele Balistreri created PDFBOX-2799:
------------------------------------------
Summary: 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org