Closed Bug 2043740 Opened 2 months ago Closed 2 months ago

[Homepage Sports Widget] [phase3] Sports widget champion card: winnerOf() ignores extra-time goals, so finals decided in ET show no/wrong winner

Categories

(Firefox for Android :: Homepage, defect)

All
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 2043750
Tracking Status
firefox153 --- affected

People

(Reporter: aaronmt, Unassigned)

References

Details

Reading winnerOf() on main as I understand it, it computes winner as score + penalty, but ignores extra time goals. toMatch() looks like it drops homeExtra/awayExtra entirely before they ever reach it.

Per fixture home_score is regulation only and extra time goals lives in home_extra so if a final is decided in extra time, ties in winnerOf - no champion card? ScorePill a 2-2 a.e.t. would probably be 1-1

Closing as a duplicate which has already been verified as fixed.

Status: NEW → RESOLVED
Closed: 2 months ago
Duplicate of bug: 2043750
Resolution: --- → DUPLICATE
Blocks: 2037222
No longer blocks: 2031450
You need to log in before you can comment on or make changes to this bug.