﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
4134	GUI trader error - tradingDetails.gain is null	elexis		"In this svn game with r18586 I had selected at least one trade cart at minute 56 which repeated the following GUI error:
{{{
TypeError: tradingDetails.gain is null
  unitActions[""setup-trade-route""].getActionInfo@gui/session/unit_actions.js:542:1
  getActionInfo@gui/session/input.js:230:8
  unitActions[""setup-trade-route""].actionCheck@gui/session/unit_actions.js:560:8
  determineAction@gui/session/input.js:309:8
  updateCursorAndTooltip@gui/session/input.js:63:7
  onTick@gui/session/session.js:601:2
  __eventhandler642 (tick)@sn tick:0:1
}}}

This seems to be the same error as in #3277, however I can't reproduce it this way anymore.
There was very likely a captured or destroyed market / dock involved though.
----

Also the ""Gain"" tooltip sometimes shows an empty string, reproduce:

1. produce trade cart at market 1
2. right click market 2
3. right click market 1

the tooltips will show ""Origin trade market. Gain: "" and ""Destination trade market. Gain: ""."	defect	new	Must Have	Backlog	UI & Simulation			mimo Imarok	
