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


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.

Reply via email to