[izpack-changes] r1687 - in izpack-src/trunk: . src/lib/com/izforge/izpack/panels

noreply at berlios.de noreply at berlios.de
Sun Jan 7 18:11:07 CET 2007


Author: jponge
Date: 2007-01-07 18:11:02 +0100 (Sun, 07 Jan 2007)
New Revision: 1687

Modified:
   izpack-src/trunk/Versions.txt
   izpack-src/trunk/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java
Log:
Going back and forth between profile selection and packs selection made packs selection unavailable (Vladimir Ralev, JBoss/RedHat, via Julien Ponge)  

Modified: izpack-src/trunk/Versions.txt
===================================================================
--- izpack-src/trunk/Versions.txt	2007-01-07 14:04:48 UTC (rev 1686)
+++ izpack-src/trunk/Versions.txt	2007-01-07 17:11:02 UTC (rev 1687)
@@ -38,6 +38,8 @@
 - Selected packs not being refreshed in the collection when the PackPanel is initialized
   (Vladimir Ralev, JBoss/RedHat, via Julien Ponge)
 - Finnish localization updates (Ari Voutilainen via Julien Ponge)
+- Going back and forth between profile selection and packs selection made packs selection unavailable
+  (Vladimir Ralev, JBoss/RedHat, via Julien Ponge)  
 
   > 3.9.0 (build 2006.09.25)
 - Fix NullPointerException in CompilerConfig, if you specify a 

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java	2007-01-07 14:04:48 UTC (rev 1686)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java	2007-01-07 17:11:02 UTC (rev 1687)
@@ -114,7 +114,6 @@
             return;
         }
 
-
         // Build the table model from the unique groups
         groupTableModel = getModel(installGroups);
         groupsTable.setModel(groupTableModel);
@@ -146,6 +145,7 @@
      */
     public void panelDeactivate()
     {
+
         Debug.trace("InstallationGroupPanel.panelDeactivate, selectedGroup="+selectedGroup);
         if( selectedGroup >= 0 )
         {
@@ -254,6 +254,11 @@
         while( iter.hasNext() )
         {
             Pack p = (Pack) iter.next();
+
+            //reverse dependencies must be reset in case the user is going
+            //back and forth between the group selection panel and the packs selection panel
+            p.revDependencies = null;
+
             if( data.packNames.contains(p.name) == false )
             {
                 iter.remove();




More information about the izpack-changes mailing list