Bug #1332

Stats page is broken

Added by Nitroxis almost 2 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:10/07/2012
Priority:NormalDue date:
Assignee:antibody% Done:


Target version:-


It seems that only my stats page is broken, others work. I don't know why this could have happened.
Link to my stats page: http://stats.xonotic.org/player/604


#1 Updated by tZork almost 2 years ago

  • Assignee changed from -z- to antibody

#2 Updated by antibody almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 1.00

This was my fault. I forgot that I did not default Elo delta values to 0.0, thus they could be null. If they happened to be null (like on your page), a call to round it to two decimal places was throwing an exception. The fix was to check for null Elo deltas before processing them. Fixed in XonStat commit c118c0c1c27605e1a52d7a9738841993b35817b7.

Also available in: Atom PDF