Ticket #68 (closed defect: fixed)
CAD log data not appearing in Sim Mgr (ScriptBuilder)
| Reported by: | jdalbey | Owned by: | bmcguffin |
|---|---|---|---|
| Priority: | Medium | Milestone: | 2017 Contract Final Report |
| Component: | ScriptBuilder Model | Version: | 1.0 |
| Severity: | Major | Keywords: | |
| Cc: |
Description
Start application.
Create new incident. In the Incident Editor that appears, click "CAD" button and drop it at time zero on the timeline. In the Event Editor that appears add Cad Log Text of "Mickey Mouse". Click in the upper right corner to close the window.
From the File menu, save the script, naming it "Mickey1.xml".
Open the xml file in a text editor and observe "Mickey Mouse" appears in the CAD INCIDENT EVENT tag.
Exit ScriptBuilder.
Launch CAD Server and Sim Mgr. In Sim Mgr, click "Load Script" and choose "Mickey1.xml". Click Start. Allow to run for five seconds. Observe that the "Log Entries" panel is empty when it should display "Mickey Mouse".
Change History
comment:1 Changed 8 years ago by bmcguffin
- Status changed from new to closed
- Resolution set to worksforme
comment:2 Changed 8 years ago by jdalbey
- Status changed from closed to reopened
- Resolution worksforme deleted
I'm reopening this ticket because the <HEADER_INFO> tag isn't appearing in the XML file when I save a script.

The sim manager appears to require that incidents have some header data attached, but it doesn't care if said header is blank. A really simple fix for this was to change the XML write process such that every timeslice of every incident reports a (usually blank) header field; that way it's always included. I'd appreciate feedback to see if this clears up the issue or if a deeper fix is necessary to remove this defect.