You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/06/25 14:42:00 UTC

[jira] [Updated] (JCRVLT-542) FolderArtifactHandler not respecting ImportMode on adjusting primaryTypes

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

Konrad Windszus updated JCRVLT-542:
-----------------------------------
    Fix Version/s: 3.5.2

> FolderArtifactHandler not respecting ImportMode on adjusting primaryTypes
> -------------------------------------------------------------------------
>
>                 Key: JCRVLT-542
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-542
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: vlt
>            Reporter: Dominik Süß
>            Assignee: Konrad Windszus
>            Priority: Critical
>             Fix For: 3.5.2
>
>
> By definition mode=merge or the new mode=merge_properties should never modify existing nodes/properties for the corresponding filters. It turns out that this check is  missing for the adjustments of primaryNodeTypes which boldly breaks where the parent structures are assumed to be preexisting (like /home/groups) and just covered by folders without any nodetype declared - the existing logic does reset those to the default nt:folder which leads to a broken commit due to nodeType incompatibilities.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)