From: Ovidiu Mircescu Date: Fri, 11 Aug 2017 08:18:05 +0000 (+0200) Subject: Fix crushing when asking the error report in ydefx. X-Git-Tag: V8_4_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=899d23bb68683d08e7246820169be133ba01721a;p=modules%2Fyacs.git Fix crushing when asking the error report in ydefx. --- diff --git a/src/evalyfx/YACSEvalYFXPattern.cxx b/src/evalyfx/YACSEvalYFXPattern.cxx index 0f10f58f0..1ab3d00d2 100644 --- a/src/evalyfx/YACSEvalYFXPattern.cxx +++ b/src/evalyfx/YACSEvalYFXPattern.cxx @@ -459,14 +459,6 @@ std::string YACSEvalYFXRunOnlyPattern::getErrorDetailsInCaseOfFailure() const oss << "NODE = " << nnc->getChildName(*it1) << std::endl; oss << "STATUS = " << nsm[st0] << std::endl; oss << "BRANCH ID = " << j << std::endl; - std::list inps((*it1)->getSetOfInputPort()); - for(std::list::const_iterator it2=inps.begin();it2!=inps.end();it2++) - { - std::string d((*it2)->getHumanRepr()); - if(d.size()>10000) - d=d.substr(0,MAX_LGTH_OF_INP_DUMP); - oss << "INPUT \"" << (*it2)->getName() << "\" = " << d << std::endl; - } oss << "DETAILS = " << std::endl; oss << (*it1)->getErrorDetails(); }