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 2008/07/25 20:49:31 UTC

[jira] Closed: (FELIX-647) Error during bundle update is not completely rolled back

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