You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2011/07/18 15:09:57 UTC

[jira] [Updated] (SLING-2131) Use modified source path name instead of the fixed string "unknown-resource" for initial resource copies

     [ https://issues.apache.org/jira/browse/SLING-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-2131:
------------------------------------

          Component/s:     (was: JCR)
                       Installer
    Affects Version/s: Installer Core 3.2.0
        Fix Version/s: Installer Core 3.2.2
             Assignee: Carsten Ziegeler

> 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: Installer
>    Affects Versions: Installer Core 3.1.2, Installer Core 3.2.0
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>             Fix For: Installer Core 3.2.2
>
>
> 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