Fix parents.name = "Vince Ifote Ifote" (double-filled last name) #421
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#421
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Standalone — discovered during 2026-04-10 Westside Ops session while investigating Marcus's player list.
Repo
forgejo_admin/basketball-apiWhat Broke
The parent row for player Vince Ifote (id 189) has
parents.name = "Vince Ifote Ifote"— the last name is duplicated. This is a form field fill artifact, not the real parent's name. The registration form probably double-wrote the last name (either an autocomplete repeat or a user typing it twice).Repro Steps
SELECT p.name AS player, par.name AS parent FROM players p JOIN parents par ON par.id = p.parent_id WHERE p.name = 'Vince Ifote';Expected Behavior
The parent row should hold the real first + last name of Vince's dad/guardian. Until we know the real first name, a sane fallback is stripping the duplicated "Ifote" →
parents.name = "Vince Ifote"(which is clearly wrong for a parent if the player is also named Vince, but at least removes the obvious duplication). Ideally: ask the family for the actual parent first name on next contact.Environment
parents(row for parent_id linked to player id 189)Acceptance Criteria
parents.namefor Vince Ifote's parent no longer contains the duplicated "Ifote"SELECT name FROM parents WHERE name ~ '(\w+) \1';— clean up any others foundRelated
westside-basketball— project this affects