You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2018/12/07 13:12:00 UTC

[jira] [Created] (SLING-8167) Using sling.home as a variable leads to runtime errors

Robert Munteanu created SLING-8167:
--------------------------------------

             Summary: Using sling.home as a variable leads to runtime errors
                 Key: SLING-8167
                 URL: https://issues.apache.org/jira/browse/SLING-8167
             Project: Sling
          Issue Type: Bug
          Components: Feature Model
            Reporter: Robert Munteanu


I tried using ${sling.home} as a variable but replacement did not work and ended up failing at runtime when the property was used to try and create a directory, e.g. - failed creating directory "/${sling.home}/foo".

I was able to work around by declaring a ${sling.home}: null variable but I wonder whether we can have better handling of such scenarios.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)