Ticket #102 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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

AddIncidentSequenceDiagram.pdf Download (41.6 KB) - added by jdalbey 7 years ago.
Sequence Diagram of addIncident and related actions

Change History

comment:1 Changed 7 years ago by jdalbey

  • Status changed from new to closed
  • Resolution set to fixed

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

Changed 7 years ago by jdalbey

Sequence Diagram of addIncident and related actions

Note: See TracTickets for help on using tickets.