Ankur Singla created SLING-13440:
------------------------------------

             Summary: JCR installer truncates PID when writing back a 
sling:OsgiConfig node without file extension
                 Key: SLING-13440
                 URL: https://issues.apache.org/jira/browse/SLING-13440
             Project: Sling
          Issue Type: Bug
          Components: Installer
    Affects Versions: JCR Installer 3.2.2
            Reporter: Ankur Singla
             Fix For: JCR Installer 3.3.2


JCR installer incorrectly renames existing config files in some cases.

The specific case that is failing is as follows:
If we pass the let's say "jcrinstall:/path/to/config.config" in the URL of 
[handleUpdate|https://github.com/apache/sling-org-apache-sling-installer-provider-jcr/blob/master/src/main/java/org/apache/sling/installer/provider/jcr/impl/JcrInstaller.java#L626]
 method, in this case tha path after update will be 
"/path/to/config.config.cfg.json", whereas it should be 
"/path/to/config.cfg.json"



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to