Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Cheshire-Cat
-
1
Description
If the javascript function calls json.parse() on an input parameter, and the input is not json, js-evaluator will crash.
If the javascript function has syntax error, js-evaluator will crash.
I have also seen js-evaluator crashing after it running for a few weeks using the following function:
function test (key, sourceDoc, sourceCas, sourceId, targetDoc, targetCas, targetId)
{ let res =
;
return JSON.stringify(res)
}
Once it crashes, the js-evaluator client goes into loop logging errors about transient error connection refused.