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

Stefan Seifert updated SLING-12668:
-----------------------------------
        Fix Version/s: Repoinit Parser 1.9.2
    Affects Version/s: Repoinit Parser 1.9.0

> 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)

Reply via email to