Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
JCR Installer 3.1.2
-
None
-
None
Description
Most notably, the common "service.ranking" needs to be an Integer, while the jcr property mapping only allows for "Long" types at the moment. The problem is that JCR has a smaller set of property types than the OSGi config admin (JCR: String, Boolean, Long, Double, Decimal; OSGi: String, Boolean, Long, Integer, Float, Double, and probably more differences...).
Similarly to properties files (which do it in the value like 'service.ranking=I"-10000"' with I=Integer), there must be a way to explicitly specify the type regardless of the JCR type. For example, encoding it in the property name like "service.ranking
{int}".
Attachments
Attachments
Issue Links
- is blocked by
-
SLING-2756 Document sling:OsgiConfig format and properties format
- Resolved
- is related to
-
SLING-2752 Revisit re-saving of config settings in light of support for wider range of types.
- Resolved
- relates to
-
SLING-1971 Persist configuration changes not made through the installer
- Closed
-
SLING-4183 Jcr Installer Provider only supports storing array values for OSGi Component Properties (for sling:OsgiConfig resources) but not java.util.Vector
- Resolved