You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andreas Schaefer (Jira)" <ji...@apache.org> on 2021/02/05 17:24:00 UTC
[jira] [Commented] (SLING-10126) Repository Initializer should
support Empty or Single Value Lists
[ https://issues.apache.org/jira/browse/SLING-10126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279838#comment-17279838 ]
Andreas Schaefer commented on SLING-10126:
------------------------------------------
Created a PR for a potential fix: [https://github.com/apache/sling-org-apache-sling-repoinit-parser/pull/6.]
This will allow to configure an single multi-value with:
set singleMultiValue\{String[]} to "single"
and an empty multi-value with:
set emptyMultiValue\{String[]} to
> Repository Initializer should support Empty or Single Value Lists
> -----------------------------------------------------------------
>
> Key: SLING-10126
> URL: https://issues.apache.org/jira/browse/SLING-10126
> Project: Sling
> Issue Type: Improvement
> Components: Repoinit
> Affects Versions: Repoinit Parser 1.6.2
> Reporter: Andreas Schaefer
> Assignee: Andreas Schaefer
> Priority: Major
> Fix For: Repoinit Parser 1.6.4
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In the current implementation it is not possible to create an empty or single multi-value entry for JCR Node properties.
> I would suggest to allow a '[]' postfix to the type like \{String[]} to indicate a multi-value and then allow for an empty or single value.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)