Closed (fixed)
Project:
Fivestar
Version:
5.x-1.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2007 at 23:04 UTC
Updated:
17 Jul 2007 at 05:46 UTC
Jump to comment: Most recent file
Hi,
when you vote with 1 out of 5 stars the vote is saved correctly in the database (average vote fits) but there aren't displayed any red stars. There are only five pale stars.
thx
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | fivestar_134101.patch | 1.38 KB | KentBye |
| #9 | fivestar.module_2.patch | 1.31 KB | Crashtest |
| #3 | fivestar.module_0.patch | 1.46 KB | Crashtest |
Comments
Comment #1
vm commentedI can confirm this bug see it at demo.verymisunderstood.com/drupal5 3rd node on the front page.
Comment #2
vm commentedfurther information;
upon choosing 1 star it works as expected;
it is not until a page refresh that the star returns to its unchosen state.
Comment #3
Crashtest commentedGotcha.
There is a bug in the fivestar_expand function. If it isn't allowed to clear the vote and the rating has a value smaller the 21 percent no radiobox will be checked.
I fixed it, but maybe there is a more elegant solution. Please see yourself.
thx
Comment #4
vm commentedtested & confirmed that this patch has indeed fixed the issue.
Comment #5
vm commentedmarking this as critical as the expected behavior isn't achieved.
Comment #6
vm commented^^^ claifiying above comment.
expected behavior isn't achived previous to patch being applied.
Comment #7
quicksketchCould you reroll against the latest 5.x and make sure to use two spaces instead of tabs in the patch?
Comment #8
quicksketchComment #9
Crashtest commentedHere you are. Hope this is better.
Comment #10
vm commentedthe last patch is missing one of the changes from the first patch
Comment #11
vm commentednevermind: now that I actually read it, I can see its not changing anything.
Comment #12
KentBye commented+1 on Crashtest's patch as it fixes this bug.
Not sure if it makes a difference, but I rerolled Crashtest's patch against the latest 1.2.2.11 version.
Comment #13
Crashtest commentedthx. I just recognized that I've checked out the Main-branch. So the lines didn't fit.
Comment #14
Leeteq commentedThe datestamp for v1.5 is the same as the date for this patch. Did this one make it into 1.5? If so, then this issue should be closed.
Comment #15
Leeteq commented- and if not, the version number for this issue should be updated.
Comment #16
quicksketchNo this hadn't gotten in yet. I've committed and will release 1.6 shortly. Thanks Crashtest and KentBye!
Comment #17
(not verified) commented