**Reject duplicate away jersey mappings** #79
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
umpire274/bs_scoring#79
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?
Reject duplicate away jersey mappings
When importing an away lineup, this now keys the roster map by
away_number, butaway_numberis not constrained to be unique in the schema or player create/update flows, so two active players on the same team can share the same away jersey. In that caseHashMap::insertsilently overwrites the earlier player and the import can save a lineup for the wrong player instead of reporting an ambiguous jersey number; please detect duplicate display numbers while building the map and return a validation error.Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in https://github.com/umpire274/bs_scoring/pull/77#discussion_r3354757803