[
https://issues.apache.org/jira/browse/SLING-12811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-12811:
------------------------------------
Summary: Support writing/reading Collection types in JCR resource
provider's valuemap to/from multivalue properties (was: Support writing
Collection types in JCR resource provider's mutable valuemap)
> Support writing/reading Collection types in JCR resource provider's valuemap
> to/from multivalue properties
> ----------------------------------------------------------------------------------------------------------
>
> Key: SLING-12811
> URL: https://issues.apache.org/jira/browse/SLING-12811
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
>
> Currently only arrays are supported to write multi-value JCR properties
> (https://github.com/apache/sling-org-apache-sling-jcr-resource/blob/334fa10956b101c24f62e22a54f33afc374085da/src/main/java/org/apache/sling/jcr/resource/internal/helper/JcrPropertyMapCacheEntry.java#L89C41-L89C48).
> It would be nice to also support Collection based types. Currently using a
> Collection type leads to storing it as binary single value property (due to
> most collection implementations also implement Serializable under the hood
> and
> https://github.com/apache/sling-org-apache-sling-jcr-resource/blob/334fa10956b101c24f62e22a54f33afc374085da/src/main/java/org/apache/sling/jcr/resource/internal/helper/JcrPropertyMapCacheEntry.java#L126
--
This message was sent by Atlassian Jira
(v8.20.10#820010)