[
https://issues.apache.org/jira/browse/SLING-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792579#comment-16792579
]
Carsten Ziegeler commented on SLING-8314:
-----------------------------------------
[~kwin] I fixed a ClassCastException which is never a good way of handling
something.
> JCR Installer writeback - primitive array types get lower case prefix ,
> convert primitive arrays to Object arrays
> --------------------------------------------------------------------------------------------------------------------
>
> Key: SLING-8314
> URL: https://issues.apache.org/jira/browse/SLING-8314
> Project: Sling
> Issue Type: Bug
> Components: Installer
> Affects Versions: JCR Installer 3.1.26
> Reporter: Ashok Kumar
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When we put a upper case prefix in our config in the repo and then change it
> via the webconsole it gets the prefix converted into a lower case. This
> creates issues as Sling only support uppercase prefixes.
> As the writeback just uses some class from Felix to write the file back (that
> will write a lower case for primitive arrays and an upper case for Object
> arrays) the fix should be reasonable straight forward by just massaging the
> configurations before writing them out via that class and turning all
> primitive arrays into their respective Object array in updatehandler.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)