You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2025/02/28 09:57:00 UTC
[jira] [Closed] (SLING-12668) Repoinit JCR: Forced multivalue property with single value is not stored as multiple property
[ https://issues.apache.org/jira/browse/SLING-12668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert closed SLING-12668.
----------------------------------
> 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)