You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/04/03 04:00:00 UTC

[jira] [Resolved] (PDFBOX-4504) Warnings when structure tree RoleMap is merged if the key is already existing in destination directory

     [ https://issues.apache.org/jira/browse/PDFBOX-4504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-4504.
-------------------------------------
    Resolution: Fixed
      Assignee: Tilman Hausherr

Yes, indeed, thank you! Done.

> Warnings when structure tree RoleMap is merged if the key is already existing in destination directory
> ------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4504
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4504
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.14
>            Reporter: Stephan Merkli
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.15, 3.0.0 PDFBox
>
>
> In https://issues.apache.org/jira/browse/PDFBOX-4415 the feature to merge the RoleMap was introduced.
> In PDFMergerUtility#mergeRoleMap a warning is logged whenever the destination dictionary contains a key from the source directory.
> Not completely sure, but wouldn't it be better to only log a warning when the values are different?
> When merging twice the same template (e.g. with some form fields filled), a warning is logged currently because both templates contains the same role maps.
>  
> Best regards and thanks in advance
> Stephan



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org