Opened 11 years ago

Closed 11 years ago

#1746 closed defect (fixed)

Undefined this.order.data on stop command

Reported by: alpha123 Owned by:
Priority: Should Have Milestone: Alpha 12
Component: UI & Simulation Keywords:
Cc: Patch:

Description

Upon clicking the Stop button for the selected spearmen, I got the following error: http://i.imgur.com/b9fdL.jpg

Attachments (1)

commands.txt (95.5 KB ) - added by alpha123 11 years ago.

Download all attachments as: .zip

Change History (5)

by alpha123, 11 years ago

Attachment: commands.txt added

comment:1 by Jonathan Waller, 11 years ago

I tried to reproduce and got what looks like the ranged equivalent.

ERROR: Script message handler OnGlobalEntityRenamed failed ERROR: Error in timer on entity 49, IID 37, function MissileHit: TypeError: this.order.data is undefined

([object Object])@simulation/components/UnitAI.js:873 ([object Object],[object Object])@simulation/helpers/FSM.js:274 ([object Object])@simulation/components/UnitAI.js:2718 ("units/hele_infantry_archer_a")@simulation/components/Promotion.js:88 (150)@simulation/components/Promotion.js:120 (87)@simulation/components/Looter.js:20 (49,87)@simulation/components/Attack.js:521 ([object Object])@simulation/components/Attack.js:711 ([object Object],177.69760650984972)@simulation/components/Attack.js:647 ([object Object])@simulation/components/Timer.js:93

in reply to:  description comment:2 by alpha123, 11 years ago

Replying to alpha123:

Upon clicking the Stop button for the selected spearmen, I got the following error: http://i.imgur.com/b9fdL.jpg

Specifically, it happened immediately after http://trac.wildfiregames.com/attachment/ticket/1746/commands.txt#L6510

comment:3 by leper, 11 years ago

In 12934:

... Refs #1746.

comment:4 by leper, 11 years ago

Component: Core engineUI & Simulation
Milestone: BacklogAlpha 12
Resolution: fixed
Status: newclosed

Should have been fixed by r12934.

Note: See TracTickets for help on using tickets.