Skip to content

Conversation

@smarnach
Copy link
Contributor

@smarnach smarnach commented Oct 4, 2016

In some cases it is possible that the anonymous student_id of a submission can't be reversed to the original user. In this case, the function user_by_anonymous_id() returns None, resulting in a crash when building reports.

This change fixes the crash by returning student_id instead of the actual user name in case it cannot be reconstructed.

@mtyaka
Copy link
Member

mtyaka commented Oct 5, 2016

👍

@smarnach smarnach merged commit 484131c into master Oct 5, 2016
@xitij2000 xitij2000 deleted the smarnach/anonymous-id branch December 13, 2019 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants