User:Fazle

Jump to: navigation, search

Bug Report: Duplicate profile created for the same user due to username case difference (openSUSE Kudos)

Summary

The same user appears to have two separate profiles on https://kudos.opensuse.org, depending on whether the username in the URL is lowercase or capitalized. Both profiles show the same username and (reportedly) the same email, but have different data.

Steps to reproduce

  1. Open https://kudos.opensuse.org/user/siskaiskandar in Chrome.
  2. Open https://kudos.opensuse.org/user/Siskaiskandar in Brave (or any other browser).
  3. Compare the two profile pages.

Expected result

Both URLs should lead to the same profile, since it is the same user (same username and same email). Usernames in URLs should be case-insensitive, or one canonical profile should be enforced.

Actual result

Two different profiles are shown:

URL Kudos received Kudos given Badges
/user/siskaiskandar 4 6 8
/user/Siskaiskandar 0 0 3

The second profile shows "No kudos yet" under "Kudos Received", while the first one shows 4 received kudos.

Possible cause

The username lookup may be case-sensitive, so logging in or visiting with a different letter case creates/loads a separate user record, even with the same email address.

Environment

  • Browser 1: Google Chrome (profile with lowercase username)
  • Browser 2: Brave (profile with capitalized username)
  • Date observed: 30 November 2026
  • Reported by: User:Fazle

Screenshots

Profile at /user/siskaiskandar (4 received, 6 given, 8 badges)
Profile at /user/Siskaiskandar (0 received, 0 given, 3 badges)

Suggested fix

  • Normalize usernames to lowercase when storing and looking them up.
  • Add a unique constraint on email (and on lowercased username) to prevent duplicate accounts.
  • Merge the existing duplicate profiles.