[Rt-commit] r12482 - rt/branches/3.8-TESTING/share/html/installation

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sat May 17 08:54:43 EDT 2008


Author: sunnavy
Date: Sat May 17 08:54:43 2008
New Revision: 12482

Modified:
   rt/branches/3.8-TESTING/share/html/installation/DatabaseType.html

Log:
need save config in DatabaseType.html, or the LoadConfig in the next page won't 
go well, even it save config there before LoadConfig.
don't know the the reason right now.


Modified: rt/branches/3.8-TESTING/share/html/installation/DatabaseType.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/installation/DatabaseType.html	(original)
+++ rt/branches/3.8-TESTING/share/html/installation/DatabaseType.html	Sat May 17 08:54:43 2008
@@ -72,9 +72,21 @@
     $m->comp('/Widgets/BulkProcess', Types => \@Types, Arguments => \%ARGS, Meta
             => $RT::Installer->{Meta}, Store => $RT::Installer->{InstallConfig} );
 
-    RT::Interface::Web::Redirect(RT->Config->Get('WebURL') .  'installation/DatabaseDetails.html');
+# XXX need save config here, or the LoadConfig in the next page won't 
+# go well, even it save config there before LoadConfig.
+# don't know the the reason right now.
+
+    my ( $status, $msg ) = RT::Installer->SaveConfig;
+
+    if ( $status ) {
+        RT::Interface::Web::Redirect(RT->Config->Get('WebURL') .  'installation/DatabaseDetails.html');
+    }
+    else {
+        push @results, $msg;
+    }
 }
 
+
 </%init>
 
 <%args>


More information about the Rt-commit mailing list