Title:
Job Promotion UI Error
Summary:
Job Promotion UI Error caused by having the job selection window open when the available jobs change.
Steps to reproduce:
- Promote a Hearthling
- Before the promotion actually happens, select another hearthling and open the job tree selection window again. Leave it up while the promotion happens.
Expected Results:
The promotion completes, and the job tree selection window is dynamically updated to reflect the change.
Actual Results:
An Engine Error pops under the job tree selection window and the job tree window itself blanks out. A regular F5 UI reload restores it.
Notes:
You can see it happen at 1:06:30, here: Video
Attachments:
Savegame
Versions and Mods:
Alpha 13 dev-2720 x64, no mods
System Information:
Win10 x64
Crash Data
develop-2720 (x64)
Uncaught TypeError: Cannot read property ‘stonehearth:promotion_talisman’ of undefined
TypeError: Cannot read property ‘stonehearth:promotion_talisman’ of undefined
at http://radiant/stonehearth/ui/game/promotion_tree/promotion_tree.js:322:63
at null. (http://radiant/radiant/js/radiant/object.js:250:19)
at Function.jQuery.extend.each (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.js:665:23)
at Object.radiant.each (http://radiant/radiant/js/radiant/object.js:248:15)
at null._updateTalismanData (http://radiant/stonehearth/ui/game/promotion_tree/promotion_tree.js:321:18)
at applyStr (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:19689:29)
at sendEvent (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:14610:13)
at notifyObservers (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17805:9)
at propertyDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17637:7)
at set (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18093:25))`