History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IZPACK-69
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Brett Bergquist
Reporter: Brett Bergquist
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IzPack

If a InstallerListener throws an exception during installation, the registered CleanupClient instances are not invoked

Created: 19/Apr/08 03:41 PM   Updated: 23/Apr/08 02:02 PM
Component/s: None
Affects Version/s: 3.11.0
Fix Version/s: 4.0.0

Time Tracking:
Not Specified


 Description  « Hide
If a InstallerListener throws an exception during installation, the registered CleanupClient instances are not invoked. For example, if the AntActionInstallerListener encounters an error, the installation is exited without ever invoking the registered CleanupClients. This can cause the installation to be left in an inconsistent state.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brett Bergquist - 22/Apr/08 07:12 PM
I have a fix for this ready to go using the Housekeeper mechanism.

Brett Bergquist - 22/Apr/08 07:31 PM
Changed some System.exit calls in the installer and uninstaller to call Housekeeper.cleanup instead so that the registered cleanup listeners will be invoked before the installer or uninstaller exits.

Julien Ponge - 23/Apr/08 02:02 PM
The issue is confirmed to be closed.