Sfoglia il codice sorgente

Force the rebuilding of hierarchical keys on every upgrade, since in 1.2-beta the rebuilding of HK was buggy. (May be the cause of the bugs: #459, #460 and #461)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1523 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 anni fa
parent
commit
2856631fec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      setup/setuppage.class.inc.php

+ 1 - 1
setup/setuppage.class.inc.php

@@ -677,7 +677,7 @@ function CreateDatabaseStructure(Config $oConfig, $aSelectedModules, $sMode)
 			MetaModel::DBCreate();
 			SetupWebPage::log_ok("Database structure successfully created.");
 			// Check (and update only if it seems needed) the hierarchical keys
-			MetaModel::CheckHKeys(false /* bDiagnosticsOnly */, false /* bVerbose*/, false /* bForceUpdate */);
+			MetaModel::CheckHKeys(false /* bDiagnosticsOnly */, false /* bVerbose*/, true /* bForceUpdate */); // Since in 1.2-beta the detection was buggy, let's force the rebuilding of HKeys
 		}
 		else
 		{