fuzzed icon indicating copy to clipboard operation
fuzzed copied to clipboard

Fatal issue not rendered properly

Open cwerling opened this issue 10 years ago • 0 comments

When sequence-dependent gates are encountered in a fault tree, the analysis should deliver an adequate error message. This is contained in the result XML but not displayed. In the case below, no configurations or probabilities can be computed.

server debug output:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<p1:analysisResults xmlns:p1="http://www.fuzztrees.net/analysisResults">

  <result decompositionNumber="10" engine="default" modelId="15" timestamp="1386860597" validResult="false">
    <issue elementId="1386856358654" isFatal="true" issueId="0" message="Sequence-dependent gates cannot be analyzed. Encountered node type: N9faulttree4FDEPE"/>
  </result>

</p1:analysisResults>

[12/Dec/2013 15:03:17] "POST /api/jobs/dd151c80-8565-4c60-9e9c-9da49fd00276/files HTTP/1.1" 200 0 Job is done, delivering result Sequence-dependent gates cannot be analyzed. Encountered node type: N9faulttree4FDEPE Returning result JSON to frontend:

{"validResult": "False", "errors": {"1386856358654": "Sequence-dependent gates cannot be analyzed. Encountered node type: N9faulttree4FDEPE"}, "warnings": {}, "timestamp": "1386860597", "decompositionNumber": "10", "configurations": [{"costs": null, "id": "#0", "choices": {}}]}

[12/Dec/2013 15:03:17] "GET /api/jobs/200 HTTP/1.1" 200 278

capture

cwerling avatar Sep 19 '14 13:09 cwerling