Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix score importer looking up guest user by username online #25077

Merged
merged 3 commits into from Oct 10, 2023

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Oct 10, 2023

w h o o p s

The report was wrong, there's no "submission" happening here, it's just the "unmap user to online user by username" logic running when it shouldn't.

Notably the default UserID is 1:

public int OnlineID { get; set; } = 1;

which means that checking against SYSTEM_USER_ID shouldn't break anything.

`TestLastPlayedUpdated` was implicitly relying on running first.
`TestGuestScoreIsStoredAsGuest` showing up changed test ordering,
causing the former test to fail if it didn't get to run first.
@peppy peppy merged commit 1388f72 into ppy:master Oct 10, 2023
17 checks passed
@bdach bdach deleted the fix-guest-score-lookup branch October 10, 2023 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Score is linked to online "Guest" user when logging in after a play is started
2 participants