[
https://issues.apache.org/jira/browse/SLING-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz updated SLING-10239:
----------------------------------------
Description:
the set of types with repo-init is limited to _String, Long, Double, Date,
Boolean_ i.e. doesn't cover all types defined in JCR (see
[https://docs.adobe.com/content/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/PropertyType.html]
for example)
for those \{{PropertyDefinition}}s that have a required type defined,
conversion from string usually works (if the string is well defined), however
for residual property definitions it will not be possible to set properties of
types that are not covered by repo init.
was:
the set of types with repo-init is limited to _String, Long, Double, Date,
Boolean_ i.e. doesn't cover all types defined in JCR.
for those {{PropertyDefinition}}s that have a required type defined, conversion
from string usually works (if the string is well defined), however for residual
property definitions it will not be possible to set properties of types that
are not covered by repo init.
> SetProperty doesn't cover all JCR property types
> ------------------------------------------------
>
> Key: SLING-10239
> URL: https://issues.apache.org/jira/browse/SLING-10239
> Project: Sling
> Issue Type: Improvement
> Components: Repoinit
> Reporter: Angela Schreiber
> Priority: Minor
>
> the set of types with repo-init is limited to _String, Long, Double, Date,
> Boolean_ i.e. doesn't cover all types defined in JCR (see
> [https://docs.adobe.com/content/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/PropertyType.html]
> for example)
> for those \{{PropertyDefinition}}s that have a required type defined,
> conversion from string usually works (if the string is well defined), however
> for residual property definitions it will not be possible to set properties
> of types that are not covered by repo init.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)