Page MenuHomePhabricator

wrong user_name is being shown in CSV output
Closed, ResolvedPublic

Description

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

Details

Reference
bz64026

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 3:12 AM
bzimport set Reference to bz64026.

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/analytics/cards/cards/1552

Change 127157 had a related patch set uploaded by Milimetric:
Refactor metrics to take a project, not a session

https://gerrit.wikimedia.org/r/127157

Change 127157 abandoned by Milimetric:
Refactor metrics to take a project, not a session

Reason:
no longer needed

https://gerrit.wikimedia.org/r/127157

Change 129025 had a related patch set uploaded by Milimetric:
Fix user name display in CSV files

https://gerrit.wikimedia.org/r/129025

Change 129025 merged by Nuria:
Fix user name display in CSV files

https://gerrit.wikimedia.org/r/129025

This is deployed and tested in staging. Please re-open if you have issues in staging. We will deploy to production on Thursday May 1st.