From: mpa Date: Thu, 27 Aug 2015 13:34:51 +0000 (+0300) Subject: INT PAL 0052843: SIGSEGV when saving study if module which data is present in the... X-Git-Tag: V7_7_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=40ed082c24dc424f9502c7c31051d42c03ecfc69;p=modules%2Fkernel.git INT PAL 0052843: SIGSEGV when saving study if module which data is present in the study is not in the current session --- diff --git a/src/SALOMEDS/SALOMEDS_Driver_i.cxx b/src/SALOMEDS/SALOMEDS_Driver_i.cxx index cd2e26187..43120f9e9 100644 --- a/src/SALOMEDS/SALOMEDS_Driver_i.cxx +++ b/src/SALOMEDS/SALOMEDS_Driver_i.cxx @@ -227,7 +227,8 @@ std::string SALOMEDS_Driver_i::LocalPersistentIDToIOR(const SALOMEDSImpl_SObject if ( !CORBA::is_nil(_driver) ) { CORBA::String_var IOR = _driver->LocalPersistentIDToIOR(so.in(), pers_string.in(), isMultiFile, isASCII); - ior = IOR; + if ( IOR.in() ) + ior = IOR; } so->UnRegister(); SALOMEDS::lock();