Use modified source path name instead of the fixed string "unknown-resource"
for initial resource copies
--------------------------------------------------------------------------------------------------------
Key: SLING-2131
URL: https://issues.apache.org/jira/browse/SLING-2131
Project: Sling
Issue Type: Improvement
Components: JCR
Affects Versions: Installer Core 3.1.2
Reporter: Felix Meschberger
Currently the OSGi Installer (or is it the JCR Installer ?) creates a first
copy of an InstallableResource before calling transformers and actually
installing the resource. This initial resource currently is named like
unknown-resource-<counter>
where <counter> is just a simple counter preventing name collisions.
It would probably be useful to not use a fixed "unknown-resource" as the base
name but maybe a modified path name of the resource, like for example:
resource.getPath().replace('/', '_') + "-" + counter
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira