Ticket #102 (closed defect: fixed)
New Incidents added in Sim Mgr don't appear in CAD Client.
| Reported by: | jdalbey | Owned by: | jdalbey |
|---|---|---|---|
| Priority: | Low | Milestone: | May 2019 Training |
| Component: | Simulation Manager | Version: | |
| Severity: | Major | Keywords: | |
| Cc: |
Description
Start CAD Server.
Start CAD Client.
Start SimMgr.
Load Script -> empty-incident.xml
observe log # 199 in inicident mgmt panel.
Click Start.
In CAD Client, observe #199 in Pending Incident window.
this is the desired behavior.
Start CAD Server.
Start CAD Client.
Start SimMgr.
Load Script -> practice-script_2016.xml
Click Add New Incident.
Choose empty-incident.xml
In the Add New Incidents dialog, check Add?
and click ok
observe log # 199 in inicident mgmt panel.
In CAD Client, observe #181 in Assigned Incident window,
but #199 DOES NOT APPEAR in Pending incident window.
Attachments
Change History
Changed 7 years ago by jdalbey
-
attachment
AddIncidentSequenceDiagram.pdf
added
Sequence Diagram of addIncident and related actions
Note: See
TracTickets for help on using
tickets.

It seems there are two places that maintain list of incidents, one in the simulator and one in the CAD Server. The Add Incident dialog is only adding them to the simulator.
Enhanced CADData with a new method to add a single incident, then modified addIncident method of Coordinator to invoke this new method (in addition to adding the incident to the IncidentManager).
Commited in r310