Page 1 of 1

Karma Calculation

Posted: Tue May 25, 2010 2:05 pm
by Lux
Hi,

I have one little problem with the karma plugin.

Setting the results to "Text" and having two votes with "0" and one with "+1", gives back "0.333333" instead of "Gut".

Any hints?

Cheers

Dirk

Re: Karma Calculation

Posted: Wed May 26, 2010 3:15 pm
by garvinhicking
Hi!

Can you tell what the exact settings are, then I can try to reproduce it. The values/votes were cast AFTER you changed the setup, not before, right?

Regards,
Garvin

Re: Karma Calculation

Posted: Wed May 26, 2010 3:27 pm
by Lux
garvinhicking wrote:Can you tell what the exact settings are, then I can try to reproduce it.
Please check: http://dl.dropbox.com/u/1486929/www.dei ... 015-25.png
garvinhicking wrote:The values/votes were cast AFTER you changed the setup, not before, right?
The only change to reproduce is to set "Abstimmungswerte als Text darstellen?" to "Yes". Since I did that from the beginning there was no change (or even save to disk) before.

Cheers

Dirk

Re: Karma Calculation

Posted: Wed May 26, 2010 3:47 pm
by garvinhicking
Hi!

Just an empty ELSE -Statement made that happen for this specific range.

A fix has been committed to SVN!

Regards,
Garvin

Re: Karma Calculation

Posted: Wed May 26, 2010 4:06 pm
by Lux
garvinhicking wrote:Just an empty ELSE -Statement made that happen for this specific range.
A fix has been committed to SVN!
Thanks a lot Garvin.

Cheers

Dirk