Page 1 of 1

tech not found in combo

Posted: Fri May 15, 2020 7:02 pm
by Wahazar
I got message

Code: Select all

Tech 138 not found in the combo
in Gtk 2.6 client with custom ruleset.
Nothing noticeable happened beside this message, but what such message mean particularly?

Re: tech not found in combo

Posted: Fri May 15, 2020 7:44 pm
by Ignatus
It's a report from the function science_report_combo_set_active() that tries to set the active tech from the dropdown menu ("combobox"). It happened that id of the tech you have selected somehow was out of the range (likely, there s less than 138 techs in the standard ruleset). If you can reproduce it, file a bug please.

Re: tech not found in combo

Posted: Fri May 15, 2020 8:17 pm
by cazfi
Ignatus wrote:If you can reproduce it, file a bug please.
There is already a ticket. Please comment to the ticket with any new details you find out.
http://www.hostedredmine.com/issues/789916

I suspect it to be related to getting the tech one is currently researching by some other means, but 'currently researching' not getting reset (so current research is something that is not available for research any more as it's researched already)

Re: tech not found in combo

Posted: Sat May 16, 2020 10:08 am
by Wahazar
If I recall correctly, it happened when I got tech from hut, while sci box was empty (I got tech during tc, and later invaded hut).