﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
5127	Broken trade cart	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.

[[Image(https://trac.wildfiregames.com/raw-attachment/ticket/5127/screenshot2400.jpg, 700px, center)]]"	defect	new	Must Have	Backlog	UI & Simulation				
