ticket	summary	severity	owner	status	component	created	_changetime	_description	_reporter
87	Incident windows stop updating	Minor	jdalbey	accepted	CAD Client	2019-02-27T14:41:05-08:00	2022-09-08T20:01:03-07:00	Occurred during full simulation with at least six CAD clients running.  One user's incident windows simply stopped updating.  Other users unaffected.  Closing incident windows and re-opening resolved the issue.	nhockada
200	Assigned Incidents window doesn't update properly	Minor	jdalbey	accepted	CAD Client	2019-11-09T10:17:29-08:00	2019-11-12T07:05:52-08:00	User reports when Media Log open in Incident Viewer that Assigned Incidents window doesn't update. 	jdalbey
159	CAD client freezes if CAD server is closed.	Minor	jdalbey	accepted	CAD Client	2019-05-24T15:40:45-07:00	2019-07-23T11:56:37-07:00	If the CAD server is closed while Clients are still active the client pops up a message saying the connection is lost, but the dialog can't be closed and the app must be terminated (with Task Manager).  This might be a Windows only problem. 	jdalbey
263	ConcurrentModificationException in Highways.java	Critical	jdalbey	new	Traffic Model Manager	2022-09-14T17:19:33-07:00	2022-09-14T17:19:33-07:00	"While running on development system:

{{{
at tmcsim.highwaymodel.Highways.applyColorToHighwayStretch(Highways.java:178)
at TrafficModelManager.java:198
}}}

Don't recall the exact sequence of events ... I changed a CMS message, confirmed in Unified Log display."	jdalbey
262	SoundPlayer.run = Unable to play audio file: Scenarios/Audio/181/18115.mp3	Minor	nhockada	new	Scripts	2022-09-13T20:25:39-07:00	2022-09-13T20:25:39-07:00	mp3 file missing for practice script.	jdalbey
153	CMS Edit Dialog truncates display at certain font sizes	Trivial	jdalbey	new	CPTMS	2019-05-15T06:58:08-07:00	2019-10-01T13:10:49-07:00	"The ""Current"" panel of the CMS edit dialog will truncate the displayed text at certain font sizes.  This occurs in Firefox when the user manually increases/decreases the font size (View-Zoom In).  The display should show 16 characters wide.  At 80% it shows only 15 characters. 
In the attached screenshot (taken at 80%) the word ""DRIVING"" doesn't appear on the second line as it should.  It does appear correctly at 67% or 90%. 

Workaround: Change the font size to a larger (or smaller) value by zooming as needed."	jdalbey
215	Sim Mgr throws exception when script has no Units	Minor	jdalbey	new	Simulation Manager	2020-01-11T08:08:30-08:00	2020-01-11T08:08:30-08:00	"When loading the attached xml file (""landslide.xml""), the Sim Mgr throws the following exception.  It would be better to show an Alert message to the user.

{{{
Exception in thread ""Thread-24"" java.lang.NullPointerException
	at tmcsim.client.cadclientgui.data.CADData.unitAssignedToIncident(CADData.java:358)
	at tmcsim.cadsimulator.Coordinator.updateUnitsInGUI(Coordinator.java:2664)
	at tmcsim.cadsimulator.Coordinator.updateIncidentInGUI(Coordinator.java:2615)
	at tmcsim.cadsimulator.managers.IncidentManager.tick(IncidentManager.java:251)
	at tmcsim.cadsimulator.Coordinator$5.run(Coordinator.java:799)
	at java.lang.Thread.run(Thread.java:748)
}}}
"	jdalbey
259	CAD Client throws exception when Sim Mgr loads different incident script	Minor	jdalbey	accepted	CAD Client	2022-09-09T15:51:44-07:00	2022-09-09T15:52:12-07:00	"Perhaps related to #87.
Steps to reproduce: Start the CAD Server, CAD Client, and Sim Mgr.  Load the full incident script in the Sim Mgr.  Observe the Units appear in the Client ""Unit Status"" panel.  Load the practice script in the Sim Mgr (it has fewer units).  The client console will show an !ArrayIndexOutOfBounds exception: https://pastebin.com/kmPzFGM5

"	jdalbey
261	EINotebook displays rating fields in Current Event tab	Minor	jdalbey	new	Electronic Instructor Notebook	2022-09-13T17:53:35-07:00	2022-09-13T17:53:35-07:00	"Instructors should use the Simulation Script tab to enter ratings.  However, the rating fields are also displayed in the Current Event tab, but if you try to modify them it quickly deletes them which the user finds very frustrating.  

One solution is don't show the ratings fields on the Current Event tab.  Another idea would be to show them but they are disabled. "	jdalbey
264	Comma in CAD comment is treated as a field delimiter by unified logger	Trivial	jdalbey	new	Unified Logger	2022-09-14T17:33:54-07:00	2022-09-14T17:33:54-07:00	"If user enters a comma in a comment entered into CAD Client, it is saved in `CADcomments.log` and then unified logger thinks it is a field delimiter and displays it as an extra field (with extra spaces).

{{{
CAD Log	Incident #181	Winston Churchill: GREAT STUFF
CAD Log	Incident #181	Winston Churchill: WHOA		GNARLY.
}}}

Above shows the first line without a comma, the second line has a comma after WHOA."	jdalbey
34	Event descriptions fail to appear in Script Events panel when editing a NEW incident.	Minor	sdanthin	assigned	ScriptBuilder GUI	2017-10-06T11:26:26-07:00	2019-07-18T08:31:22-07:00	"Steps to reproduce:
Start !ScriptBuilder.
Create a new Incident.  The Incident Editor window opens.
Click on ""Telephone"" and place at time 0:00. The event editor appears; close it.
Click on ""CAD"" and place at time 5:00. The event editor appears; close it.
The Incident Editor now has two events on the timeline.  
Mouse over the timeline.  Note that nothing is displayed in the Script Events panel.
Close the Incident Editor window. 
Reopen the Incident Editor window for the same incident.
Mouse over the timeline. Observe the event descriptions correctly appear in the Script Events panel.

Comment: This is probably a low priority defect.  If it takes a lot of work to fix it just ignore it for this milestone."	jdalbey
218	GUI for Evaluation events has wrong fields	Minor	sdanthin	new	ScriptBuilder GUI	2020-01-12T13:28:28-08:00	2020-01-12T13:28:28-08:00	"The Event Editor window for all Evaluation events (except CMS Evaluation) displays the wrong fields.  Currently the fields displayed are shown in attached image.  These should be replaced with one free-format text field labeled ""Expected Action"".

These events generate XML like this:

{{{
<ACTIVITY_LOG_EVALUATION>
<EXPECTED_ACTION>Should be updating the incident board.</EXPECTED_ACTION>
</ACTIVITY_LOG_EVALUATION>
}}}
The CMS Evaluation event editor has ID, Type, and Location fields which are correct.
Two buttons for Add Message and Delete Message should be removed. 
The table with two columns should be replaced with a table of one column and six rows (fixed size, no column headers) and labeled ""Sample Message"".

These events generate XML like this:

{{{
<CMS_EVALUATION cmsID=""95"" type=""new""> 
	<LOCATION>NB 5 @ EL TORO</LOCATION>
	<SAMPLE_MESSAGE>
		<CMS_LINE>ACCIDENT AT HWY-55</CMS_LINE>
		<CMS_LINE>3 RT LANES BLKD</CMS_LINE>
	</SAMPLE_MESSAGE>
</CMS_EVALUATION>
}}}"	jdalbey
238	Incident HEADER_INFO tag not written to xml file if properties form incomplete	Minor	sdanthin	new	ScriptBuilder GUI	2020-02-01T16:51:29-08:00	2020-02-01T16:52:53-08:00	"Steps to reproduce:  Start Scriptbuilder. Add a new incident 101. Fill in the fields in the properties dialog for Name, Location, Type, and Description and click OK. Add one CAD event and provide detail field value of ""abc"".  Close the event editor.  Add a new incident 102.  Do NOT complete the fields in the properties form. Add one CAD event as above.  Save the scenario.  The resulting xml file (below) contains a HEADER_INFO tag for 101 but not 102. Also, neither of them contains a GENERAL_INFO tag that should contain the incident description.  
WORKAROUND:  User must complete all fields in the incident properties dialog. 
{{{
  <SCRIPT_EVENT>
    <TIME_INDEX>00:00:00</TIME_INDEX>
    <INCIDENT LogNum=""101"">Name</INCIDENT>
    <COLOR b=""255"" g=""0"" r=""0""/>
    <CAD_DATA>
      <HEADER_INFO>
        <Type>Type</Type>
        <Beat/>
        <TruncLoc>Loc</TruncLoc>
        <FullLoc>Loc</FullLoc>
      </HEADER_INFO>
      <CAD_INCIDENT_EVENT>
        <DETAIL>abc</DETAIL>
      </CAD_INCIDENT_EVENT>
    </CAD_DATA>
  </SCRIPT_EVENT>
  <SCRIPT_EVENT>
    <TIME_INDEX>00:00:00</TIME_INDEX>
    <INCIDENT LogNum=""102""/>
    <COLOR b=""255"" g=""0"" r=""0""/>
    <CAD_DATA>
      <CAD_INCIDENT_EVENT>
        <DETAIL>abc</DETAIL>
      </CAD_INCIDENT_EVENT>
    </CAD_DATA>
  </SCRIPT_EVENT>
}}}"	jdalbey
241	ScriptBuilder events created at time zero can't be moved to a different time.	Minor	sdanthin	new	ScriptBuilder GUI	2020-02-03T18:03:11-08:00	2020-02-03T18:03:11-08:00	"Steps to reproduce: Create a new incident. Create CAD event at time zero. Create Tow event at time zero. In the time selector, set Seconds to ""20"", click ""Save and Close"". Observe the event did not move to time "":20"".

If there is only one event in the entire incident and it is at time zero, it makes some sense to not be able to move it, but at least there should be an explanatory error message.
But if there are multiple events at time zero, moving one event to a later time should be a reasonable action.  Currently it doesn't move it and doesn't give any feedback explanation. "	jdalbey
242	CHP Radio event can be created without accompanying Audio event.	Minor	sdanthin	new	ScriptBuilder GUI	2020-02-03T18:06:29-08:00	2020-02-03T18:06:29-08:00	"Steps to reproduce: Create new incident.
Create CAD event at time zero.
Create CHP RADIO event at time zero.  Note: No audio event is created for it.

Note, if CHP event is the FIRST event created at time zero it correctly creates an Audio event also.  But if there is already an event at time zero, and a CHP RADIO event is added, the corresponding AUDIO event is not created.
"	jdalbey
223	Wrong column headers displayed after Evaluation Event added to incident editor	Minor	sdanthin	assigned	ScriptBuilder GUI	2020-01-12T15:39:08-08:00	2021-02-02T10:07:14-08:00	"Create new incident.
In incident editor, create a ""Tow"" event at time zero.
Create a ""CAD Evaluation"" event at 10 minutes.
Note in the event editor the form displays column headers ""Scale"" and ""Criteria"" as they should.
Create a ""Telephone"" event at 5 minutes. Note in the event editor the form displays incorrect column headers ""Scale"" and ""Criteria"", instead of ""Role"" and ""Dialog"". 

Note this defect may get fixed as a side effect of fixing !#218."	jdalbey
225	Save File Chooser opens with filename selected	Trivial	sdanthin	new	ScriptBuilder GUI	2020-01-14T05:10:00-08:00	2020-01-14T06:56:59-08:00	"When saving an incident the Save File Chooser dialog opens with the filename already selected. See attached screenshot.  This results in the dialog behaving in unexpected ways, changing the filename whenever the current folder changes. 

Workaround: when the dialog opens, click anywhere in the text field to deselect the filename.

Note: this defect seems platform dependent: I can reproduce it on my laptop, but not on my desktop. (I've only tested it within !NetBeans). "	jdalbey
226	Event editor window closing behaves unexpectedly for new events	Trivial	sdanthin	new	ScriptBuilder GUI	2020-01-14T06:50:59-08:00	2020-01-14T06:50:59-08:00	"When a new event is created, the event editor window appears, and if the window close button is clicked ''after entering no data'', the dialog closes, but the event is still created on the timeline. This may seem odd in the case where the user clicked the wrong event button and expected that after entering no data in the form that the cancel button would cancel event creation.

In the case where the user created an event as a placeholder and they intend to return to it at a later time to complete the form fields, they should close the dialog by clicking the ""Save and close"" button."	jdalbey
227	ScriptBuilder GUI Look and Feel issues	Trivial	sdanthin	new	ScriptBuilder GUI	2020-01-14T07:42:52-08:00	2020-01-14T07:42:52-08:00	"The color is not appearing in Incident Properties on Sebastien's machine, but woks fine on John's machine(s). 

The slider for zoom is missing on John's machine, but not on Sebastien's. 

Changing to a different Look and Feel gives different results for these anomalies. "	jdalbey
