Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10239

SetProperty doesn't cover all JCR property types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Repoinit
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: