Salome HOME
Fix crushing when asking the error report in ydefx.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 11 Aug 2017 08:18:05 +0000 (10:18 +0200)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 11 Aug 2017 08:18:05 +0000 (10:18 +0200)
src/evalyfx/YACSEvalYFXPattern.cxx

index 0f10f58f0a0f736c93544e4cb53dabc844cd7277..1ab3d00d2f880f2ce985541dc61f6f8d46bc40c3 100644 (file)
@@ -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<YACS::ENGINE::InputPort *> inps((*it1)->getSetOfInputPort());
-              for(std::list<YACS::ENGINE::InputPort *>::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();
             }