[
https://issues.apache.org/jira/browse/JCRVLT-552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405724#comment-17405724
]
Dominik Süß edited comment on JCRVLT-552 at 8/27/21, 9:52 AM:
--------------------------------------------------------------
[~kwin] - I added a corresponding test case for the scenario I found. The
source package is slightly flawed but as vault is forgiving it handles it
correctly so far, the importer now starts to fail as the detection of the state
of being a protected property somehow isn't working - and therefore trying to
set it a second time, now failing as the property is in fact protected.
was (Author: dsuess):
[~kwin] - I added a corresponding test case for the scenario I found. The
source package is slightly flawed but as vault is forgiving it handles it
correctly so far, the importer now starts to fail as the detection of the state
of being a protected property somehow isn't working - and therefore trying to
set it a second time.
> Importer fails to detect jcr:mixinTypes being protected if package uses
> singlevalue property
> --------------------------------------------------------------------------------------------
>
> Key: JCRVLT-552
> URL: https://issues.apache.org/jira/browse/JCRVLT-552
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: vlt
> Reporter: Dominik Süß
> Priority: Major
>
> When debugging a case where a package doesn't install on the headversion of
> vault I found out that if the property jcr:mixinTypes is defined as single
> valued property - the code properly detects and sets the mixin but
> subsequently fails on detecting this property being protected and therefore
> fails as it tries to set it in DocViewSaxImporter in the
> setUnprotectedProperties method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)