Salome HOME
projects
/
modules
/
yacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7055b38
)
Fix crushing when asking the error report in ydefx.
author
Ovidiu Mircescu
<ovidiu.mircescu@edf.fr>
Fri, 11 Aug 2017 08:18:05 +0000
(10:18 +0200)
committer
Ovidiu Mircescu
<ovidiu.mircescu@edf.fr>
Fri, 11 Aug 2017 08:18:05 +0000
(10:18 +0200)
src/evalyfx/YACSEvalYFXPattern.cxx
patch
|
blob
|
history
diff --git
a/src/evalyfx/YACSEvalYFXPattern.cxx
b/src/evalyfx/YACSEvalYFXPattern.cxx
index 0f10f58f0a0f736c93544e4cb53dabc844cd7277..1ab3d00d2f880f2ce985541dc61f6f8d46bc40c3 100644
(file)
--- 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;
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();
}
oss << "DETAILS = " << std::endl;
oss << (*it1)->getErrorDetails();
}