UFO: Alien Invasion Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #5061  -  Un-hire soldier shows wrong stats after employee removed
Posted Jul 24, 2013 - updated Aug 12, 2013
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     DarkRain
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     SoftwareSimian
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    User interface
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Simple
  • Platform
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
Issue description
If you right-click on the checkbox to "un-hire" (ie delete from the list of available candidates) a soldier, the clicked soldier goes away as it should. However, the highlighted name on the left side moves to the next soldier in the list whereas the stats shown on the right side are from the first soldier in the list. Clicking the already-highlighted name on the left then displays the stats for that soldier.

This also happens for other employee types (pilots, scientists, workers).
Steps to reproduce this issue
Most obvious if you have a couple never-hired soldiers below a hired soldier on your list.
  1. Select the first never-hired soldier after your hired soldier
  2. Right-click the checkbox to "un-hire" that soldier
  3. Notice the highlighted name has advanced to the next one, but the stats shown are from the first soldier on the list.