You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2021/03/18 12:36:00 UTC

[jira] [Created] (SLING-10239) SetProperty doesn't cover all JCR property types

Angela Schreiber created SLING-10239:
----------------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)