From: Anthony Geay Date: Mon, 24 Jan 2022 16:25:33 +0000 (+0100) Subject: [tuleap28734] : Fix in SSL X-Git-Tag: EMC2P_V_1_3_5-rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fagy%2Fvadim_review;p=modules%2Fkernel.git [tuleap28734] : Fix in SSL --- diff --git a/src/KernelHelpers/SALOME_KernelServices.cxx b/src/KernelHelpers/SALOME_KernelServices.cxx index 30d81f6b1..3b12354a0 100644 --- a/src/KernelHelpers/SALOME_KernelServices.cxx +++ b/src/KernelHelpers/SALOME_KernelServices.cxx @@ -185,10 +185,9 @@ namespace KERNEL { } else { - //SALOME::SALOME_Exception ex(createSalomeException("RetrieveCompo : not implemented yet !")); - //throw ex; - throw SALOME_Exception("RetrieveCompo : not implemented yet !"); - //GetLCC()->FindOrLoad_Component( "FactoryServer", compoName ); + Engines::EngineComponent_var compo = getLifeCycleCORBA()->FindOrLoad_Component( "FactoryServer", compoName.c_str() ); + ret = CORBA::Object::_narrow(compo); + _compo_map[compoName] = ret; } return ret._retn(); }