Title: Cannot read property ‘indexOf’ of undefined
Summary: item UI stops working for items placed in storage, randomly
Steps to reproduce:
- place any item in designated storage spaces on the ground
- click on items to use or place in the world
- Error message pops up
Expected Results: Items should be usable or placeable
Actual Results:
develop-2720 (x64)
Uncaught TypeError: Cannot read property ‘indexOf’ of undefined
TypeError: Cannot read property ‘indexOf’ of undefined
at null._updateMaterial (http://radiant/stonehearth/ui/game/unit_frame/unit_frame.js:112:43)
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 chainsDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17733:9)
at propertyDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17636:7)
at set (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18093:25)
at exports.default.Mixin.create.set (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:32739:9)
at Object. (http://radiant/stonehearth/ui/root/js/stonehearth/view.js:136:21)
Notes:
Attachments:
Versions and Mods: Alpha 13 without mods
System Information: Windows 7 Ultimate