From b93c468ac727704d99437a27d11e3e9c07950520 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 14 Jan 2016 17:20:05 +0300 Subject: [PATCH] 0053062: Hang-up in Dump Study in case of some module which data is present in study is not available in current session --- src/SalomeApp/SalomeApp_Engine_i.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SalomeApp/SalomeApp_Engine_i.cxx b/src/SalomeApp/SalomeApp_Engine_i.cxx index 9b58f1e36..40563d939 100644 --- a/src/SalomeApp/SalomeApp_Engine_i.cxx +++ b/src/SalomeApp/SalomeApp_Engine_i.cxx @@ -347,6 +347,9 @@ CORBA::Object_ptr SalomeApp_Engine_i::EngineForComponent( const char* theCompone if ( !theComponentName || !strlen( theComponentName ) ) return anEngine._retn(); + if ( SalomeApp_Application::moduleTitle( theComponentName ).isEmpty() ) + return anEngine._retn(); + std::string aPath( "/SalomeAppEngine/" ); aPath += theComponentName; anEngine = namingService()->Resolve( aPath.c_str() ); -- 2.39.2