When loading Talkgroup data, loading can fail if the Description field is a String, but that String is convertible to an Int.
Expected Results
Talkgroup data should load if the value in the Description column is a String.
Actual Results
When loading Talkgroup data that was downloaded directly from Radio Reference, if the 'Description' field is an Int value wrapped in quotations (ex: "47"), the load will fail, even though the value's type is actually String.
Repro
1) Download Talkgroup data for Frisco (Frisco, TX) from Radio Reference
2) Configure Trunk Recorder to load this TG data
3) Attempt to start Trunk Recorder
4) Observe the error below:
Summary
When loading Talkgroup data, loading can fail if the Description field is a String, but that String is convertible to an Int.
Expected Results
Talkgroup data should load if the value in the Description column is a String.
Actual Results
When loading Talkgroup data that was downloaded directly from Radio Reference, if the 'Description' field is an Int value wrapped in quotations (ex:
"47"
), the load will fail, even though the value's type is actually String.Repro
1) Download Talkgroup data for Frisco (Frisco, TX) from Radio Reference 2) Configure Trunk Recorder to load this TG data 3) Attempt to start Trunk Recorder 4) Observe the error below:
5) Review Row 56
"3"
6) Change the Description to something other than a int wrapped in string
"3"
to"Ops 3"
7) Attempt to start Trunk Recorder 8) Observe that Trunk Recorder now starts without error