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

Richard S. Hall closed FELIX-647.
---------------------------------

    Resolution: Fixed

Applied a patch to fix this.

> Error during bundle update is not completely rolled back
> --------------------------------------------------------
>
>                 Key: FELIX-647
>                 URL: https://issues.apache.org/jira/browse/FELIX-647
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>
> There is a bug when a bundle update throws an exception. In the attempt to 
> rollback the bundle revision, it was not correctly rolling back the array of 
> revisions in BundleArchive.undoRevise(). It was correctly creating a new 
> revision array that was one element smaller and copying the existing 
> revisions to this smaller array, but it was forgetting to assign the new 
> smaller array to the BundleArchive.m_revisions member field. Thus, it was not 
> actually rolling back the revision array itself, even though it was rolling 
> back everything else.

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