You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ashok Kumar (JIRA)" <ji...@apache.org> on 2019/03/14 08:14:00 UTC

[jira] [Created] (SLING-8314) JCR Installer writeback - primitive array types get lower case prefix , convert primitive arrays to Object arrays

Ashok Kumar created SLING-8314:
----------------------------------

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


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)