Opened 6 years ago

Last modified 5 years ago

#5127 new defect

Broken trade cart

Reported by: elexis Owned by:
Priority: Must Have Milestone: Backlog
Component: UI – In-game Keywords:
Cc: Patch:

Description (last modified by elexis)

In this svn / a23 match at minute 52, the trader entity 12417 has repeated this GUI error onTick when selecting it and hovering a market:

ERROR: JavaScript error: gui/session/unit_actions.js line 581
TypeError: tradingDetails.gain is null
  g_UnitActions["setup-trade-route"].getActionInfo@gui/session/unit_actions.js:581:1
  getActionInfo@gui/session/unit_actions.js:1536:12
  g_UnitActions["setup-trade-route"].actionCheck@gui/session/unit_actions.js:599:21
  determineAction@gui/session/input.js:274:12
  updateCursorAndTooltip@gui/session/input.js:94:16
  onTick@gui/session/session.js:828:2
  __eventhandler171 (tick)@sn tick:0:1

While the GUI error is the same as the one described in #3277, the recipe to reproduce the issue does not trigger this error stack.

https://trac.wildfiregames.com/raw-attachment/ticket/5127/screenshot2400.jpg

Attachments (2)

commands.txt (1.9 MB ) - added by elexis 6 years ago.
screenshot2400.jpg (498.2 KB ) - added by elexis 6 years ago.

Change History (4)

by elexis, 6 years ago

Attachment: commands.txt added

by elexis, 6 years ago

Attachment: screenshot2400.jpg added

comment:1 by elexis, 6 years ago

Description: modified (diff)

Revision of the replay is r21713.

This ticket is likely but not necessarily a duplicate of #4134.

comment:2 by Itms, 5 years ago

Component: UI & SimulationUI – In-game
Note: See TracTickets for help on using tickets.