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 karma.
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 siteAsked: 2010-09-22 18:02:05 -0500
Seen: 52 times
Last updated: Sep 22 '10
could askbot use percentage-based values for karma (and other) thresholds?
Can I remove the word "Karma" and use instead the word "Reputation"?
New install - everyone's karma stuck at "1"
Extracting the karma/reputation system into its own pluggable app
Can we force the karma to show on the line after the name?
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.