Download & Extend

Must "Cancel Vote" Twice To Clear Star Display and Description

Project:Fivestar
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:delete, multiple clicks, not deleting, page reload, remove, vote

Issue Summary

With the "Basic" fivestar theme, users must click the "Cancel Vote" button twice to effectively update the widget's display.

One click on the "X" only changes the description text "Your Rating" to "None." Average Vote and Total Votes continue to display old information (until the page is manually reloaded).

Two clicks on the "X" will finally blank all the stars, and clear the Average Vote, Total Votes, and Your Rating text (without a manual page reload).

Can send a link/login if necessary.

Comments

#1

I'm able to reproduce this problem, but it only exhibits itself when displaying the stars as "average" or "user vote if available, average otherwise". It does not seem to affect the "dual" display or the "user vote" versions of the widget.

#2

Status:active» fixed

This patch should fix the problem. Some changes meant for the 2.x version had slipped into the Drupal 6 1.x version, breaking the return value after casting a new vote.

AttachmentSizeStatusTest resultOperations
fivestar_cancel_update_average.patch1.52 KBIgnored: Check issue status.NoneNone

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here