Ticket #229 (closed defect: fixed)
Cardfile Window not displaying cardfile items or phone numbers
| Reported by: | jdalbey | Owned by: | jdalbey |
|---|---|---|---|
| Priority: | High | Milestone: | May 2021 Training |
| Component: | CAD Client | Version: | |
| Severity: | Major | Keywords: | |
| Cc: |
Description
Start the client, from the "More" menu at the top, choose "Cardfile". In the Cardfile window, click any tab, e.g., Radio Stations, and no items appear in the panel.
Change History
comment:2 Changed 6 years ago by jdalbey
- Status changed from accepted to closed
- Resolution set to fixed
After extensive troubleshooting, it appears the problem is that tmcsim.client.cadclientgi.data.CardfileData.java has all static members. The Coordinator has one instance, and CADClientGUI.java has another. The Coordinator initially loads the data. Then subsequently when the Client starts, it makes a second instance, accidentally deleting the static data. During debugging it seems the second instance, in CADClientGUI, is never used, because tmcsim.client.cadclientgui.screens.Cardfile.java has its own CardfileLists that it loads from Coordinator.
The fix is to delete this second instance, in CADClientGUI.
This defect did not manifest at an arbitrarily old version I examined, r280. Not sure when the defect was introduced, and why it didn't appear in r280, which seems to have the same code in CADClientGUI.
Fix committed in r555.
