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

Richard S. Hall closed FELIX-2222.
----------------------------------

    Resolution: Fixed

I modified BundleCache to delete the entire cached bundle directory when an 
exception occurs.

> Failure to reinstall a cached bundle will corrupt the bundle cache
> ------------------------------------------------------------------
>
>                 Key: FELIX-2222
>                 URL: https://issues.apache.org/jira/browse/FELIX-2222
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-2.0.4
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-3.0.0
>
>
> If an exception occurs when reading a previously cached bundle, 
> BundleArchive.revise() called from the BundleArchive constructor will delete 
> the revision directory, but the bundle directory will be left intact in 
> BundleCache.getArchives(). On a subsequent restart this causes an issue since 
> the bundle directory is now malformed (i.e., it doesn't have a revision 
> directory). We need to handle this differently.

-- 
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