• Resolved scottfreeman

    (@scottfreeman)


    When importing a box score for a game, if a player with the name exists for another team, the stats for the game may be attributed to the wrong player.

    ie;
    – Create four teams.
    – Add random players to the teams
    – Have “Smith” on every team
    – Create events for the four teams to play each other
    – Add box scores for the events
    – See the box score stats could be attributed to a particular “Smith”, regardless if they’re on the team
    – They appear to be attributed to the first occurrence of “Smith”, but I’m not sure

    Player names can duplicate across teams (with the same or different roster number), and even within the same team (but with a unique roster number).

    When importing box scores, there’s no option to add the roster number, so a #1 Smith and a #2 Smith – siblings for the same team – get their box score stats mixed.

    A possible solution would be:
    – Add a column for roster number in the CSV upload
    – Add a check when importing the data to ensure the name/number for a player exists for that team

    If I’m not doing something right, or have missed something, please let me know.

    Thanks!

    Running SportsPress 2.6.14.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Box Scores for teams with duplicate player names’ is closed to new replies.