Explorar o código

HPCC-14956 ConfigMgr crashes when using wizard

    - The wizard uses the clusters defined in genenvrules.conf to
      create the default clusters.  When roxie or thor is not in the
      generated environment, clusters containing those components should
      be skipped.

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Gleb Aronsky %!s(int64=9) %!d(string=hai) anos
pai
achega
43715ad0de
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      deployment/deployutils/wizardInputs.cpp

+ 3 - 0
deployment/deployutils/wizardInputs.cpp

@@ -1092,6 +1092,9 @@ void CWizardInputs::checkForDependencies()
       if((!strcmp(buildSetName,"roxie") && m_roxieNodes == 0 )|| (!strcmp(buildSetName,"thor")&& m_thorNodes == 0)){
           numOfNodesNeeded = 0;
           m_doNotGenComp.append(buildSetName);
+          m_compForTopology.remove("thor_roxie");
+          if (!strcmp(buildSetName,"thor"))
+             m_compForTopology.remove("thor");
       }
 
       if(numOfNodesNeeded == 0 || (m_doNotGenComp.find(buildSetName) != NotFound))