Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
JCR Installer 3.1.8
-
None
-
None
Description
The OSGi Compendium 4.3.0, $105.14.3.13 defines two storage formats for multivalue entries: one is vector and the other one is array.
As long as a configuration is maintained via the Felix Webconsole, it will stick to the data format being given in the metatype manifest (through the cardinality attribute).
If the JCR Installer is used to deploy the OSGi configuration it will always use array, in case the property is a multivalue property in the JCR (https://github.com/apache/sling/blob/trunk/installer/providers/jcr/src/main/java/org/apache/sling/installer/provider/jcr/impl/ConfigNodeConverter.java#L99)
In the best case the JCR Installer should evaluate the metatype manifest as well. Or it should support {{Vector}}s through some special prefix on a multivalue property name.
Attachments
Issue Links
- is related to
-
SLING-2477 Configuration via sling:OsgiConfig nodes does not support all types
- Resolved