The get_username_via_id method in the reports controller returns the wrong user_name because it only searches by user_id and not user_id AND cohort_id like it should. This means that CSV output is randomly showing totally wrong user names sometimes, though the user_id is always correct.
Version: unspecified
Severity: major