asked 2010-09-22 18:02:05 -0500rfrankel
I tried giving myself a million karma and got a warning - adding the actual karma worked, but the moderation record complained; the repute object got stored with 32767 for
positive and 1000001 for
Does this mean the model field should be changed (assuming you agree this is a bug)?
Repute model uses
SmallInteger field which in MySQL is in range –32768 to 32767. The user reputation is
UnsignedInteger with a much larger range and apparently there is no check on the limits in the code, I've saved this issue in the bug tracker. Thanks.
edit: btw bug tracker is at http://bugs.askbot.org
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.create your Q&A site
Asked: 2010-09-22 18:02:05 -0500
Seen: 52 times
Last updated: Sep 22 '10