[ 
https://issues.apache.org/jira/browse/SLING-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler closed SLING-611.
----------------------------------

    Resolution: Fixed

The approach is very easy:
if the name contains a ":" it's not saved as a property
if the value is long, calendar, string, boolean or double the property is saved
All other values are saved as a blob as the back conversion would not guarantee 
to have the same type
(Yes, we could store the types in addition and recreate them, but I think 
that's not worth the effort atm)

> Save OSGi event properties as JCR properties
> --------------------------------------------
>
>                 Key: SLING-611
>                 URL: https://issues.apache.org/jira/browse/SLING-611
>             Project: Sling
>          Issue Type: Improvement
>          Components: Event
>    Affects Versions: Extensions Event 2.0.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Extensions Event 2.0.4
>
>
> Currently all OSGi event properties are saved in a single JCR property (as 
> serialized java object)
> If possible the event properties can directly be saved as JCR properties - 
> only props who's name or type is not directly usable get saved as a 
> serialized java object

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to