Ticket #1490 (new defect)
Opened 12 months ago
TechnologyManager produces errors in Atlas under obscure conditions
| Reported by: | vts | Owned by: | |
|---|---|---|---|
| Priority: | Nice to Have | Milestone: | Backlog |
| Component: | UI & Simulation | Keywords: | atlas |
| Cc: | quantumstate |
Description
To reproduce:
- Start Atlas on a blank map and place a civil center owned by Gaia
- Go to the Player tab and set the number of players to 7 (anything less than 8 seems to trigger it)
- Start the simulation, click OK on the defeated dialog and reset the simulation again
- Select the civil center, go to the Object tab and set Player 1 as its owner
This produces the following:
WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 201 reference to undefined property "structures/celt_civil_centre" WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 215 reference to undefined property "Structure" WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 219 reference to undefined property this.typeCountsByClass[classes[i]] ERROR: JavaScript error: simulation/components/TechnologyManager.js line 219 TypeError: this.typeCountsByClass[classes[i]] is undefined ([object Object])@simulation/components/TechnologyManager.js:219 ERROR: Script message handler OnGlobalOwnershipChanged failed
Note: See
TracTickets for help on using
tickets.
