[incident #1902132] EPTF_CLL_LGenBase_TemplateFunctions.ttcn: display helpful warning if mandatory parameter is missing
Change-Id: I4e2a6bbea1e88e8a65f1972a57857dbc8d23e241
Signed-off-by: József Gyürüsi <jozsef.gyurusi@ericsson.com>
diff --git a/src/LGenBase/EPTF_CLL_LGenBase_TemplateFunctions.ttcn b/src/LGenBase/EPTF_CLL_LGenBase_TemplateFunctions.ttcn
index 8ffafca..5d14c28 100644
--- a/src/LGenBase/EPTF_CLL_LGenBase_TemplateFunctions.ttcn
+++ b/src/LGenBase/EPTF_CLL_LGenBase_TemplateFunctions.ttcn
@@ -1657,7 +1657,7 @@
var EPTF_LGenBase_TemplateTypeKey templKey := { p_templateList[i].behaviourType, p_templateList[i].templateName };
if (f_EPTF_LGenBase_assignExtTemplToTemplType3(templateSetIdx, templKey, p_templateList[i].externalTemplateName) < 0)
{
- f_EPTF_LGenBase_loggingWarning(%definitionId&"Could not assign template"); //only warning, no need to stop
+ f_EPTF_LGenBase_loggingWarning(%definitionId &": Template: " & p_templateList[i].externalTemplateName & " of type: " & p_templateList[i].templateName & " could not be assigned - check warnings above.");
}
}
}
@@ -1730,7 +1730,7 @@
j := j+1 ) {};
if (j==vl_extTemplParamNum)
{
- f_EPTF_LGenBase_loggingDebugTraffic(%definitionId&": Manadatory parameter: "&compParam&" is missing from external template");
+ f_EPTF_LGenBase_loggingWarning(%definitionId&": Mandatory parameter: "&compParam&" is missing from external template");
return false;
}
p_jumpTable[j] := i;