You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/03/23 06:58:28 UTC

[jira] Closed: (FELIX-2222) Failure to reinstall a cached bundle will corrupt the bundle cache

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