You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2009/12/15 18:34:18 UTC

[jira] Resolved: (SLING-1241) RegisteredResourceImpl.getInputStream() fails if bundle context storage has moved

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

Bertrand Delacretaz resolved SLING-1241.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: JCR Installer 3.0.2

Fixed in revision 890897

> RegisteredResourceImpl.getInputStream() fails if bundle context storage has moved
> ---------------------------------------------------------------------------------
>
>                 Key: SLING-1241
>                 URL: https://issues.apache.org/jira/browse/SLING-1241
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: JCR Installer 3.0.2
>
>
> The OSGi installer's RegisteredResourceImpl class persists the full path of a data file that it gets from BundleContext.getDataFile().
> If the filesystem folder that saves the bundle context's data is moved, the path of that data file becomes invalid.
> The RegisteredResourceImpl class should just store an identifier for the data file, and use BundleContext.getDataFile() every time it needs to access the actual file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.