[
https://issues.apache.org/jira/browse/SLING-12668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17929773#comment-17929773
]
Stefan Seifert commented on SLING-12668:
----------------------------------------
i've created two PRs to fix the issue:
* parser:
https://github.com/apache/sling-org-apache-sling-repoinit-parser/pull/30
* jcr impl:
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/61
> Repoinit JCR: Forced multivalue property with single value is not stored as
> multiple property
> ---------------------------------------------------------------------------------------------
>
> Key: SLING-12668
> URL: https://issues.apache.org/jira/browse/SLING-12668
> Project: Sling
> Issue Type: Bug
> Components: Repoinit
> Affects Versions: Repoinit Parser 1.9.0, Repoinit JCR 1.1.52
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Major
> Fix For: Repoinit JCR 1.1.54, Repoinit Parser 1.9.2
>
>
> repoinit script:
> {noformat}
> ensure nodes (nt:unstructured) /forcedMultiValue with properties
> set multiValue{String[]} to "item1","item2"
> set singleMultiValue{String[]} to "single"
> set emptyMultiValue{String[]} to
> end {noformat}
> expected behavior: all three properties are created as multiple properties.
> actual behavior: only properties {{multiValue}} and {{emptyMultiValue}} are
> actually stored as multiple property, whereas {{singleMultiValue}} as stored
> as single property.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)