I have a fivestar field on a content type.
Also i have a fivestar field on a comment field to this content type with parent node as a vote target.

When a user role, with set approval comment enabled, posts a comment with a vote, after approval it does not included into average of the node.
If i edit this comment and save it - it will appear. So thats it...
Thanks in advance

Comments

rootical’s picture

Priority: Normal » Critical

Well i am to change the priority because as for me it`s critical bug - makes moderating unreal.

drum5ormore’s picture

I second this.

drum5ormore’s picture

Here's the steps you can to take to produce this error:

* Follow these steps to include a fivestar field in the comment form: http://drupal.org/node/1308114
* Allow anonymous users to submit comments with administrator approval.
* Create a view showing the average results of the fivestar field.

Here's a scenario you can use to try to experience this strange behavior:
* I add 2 comments as an administrator, one with a rating of '3' and one with a rating of '4'. The view shows an average of 3.5. Perfect!
* I add 1 comment as an anonymous user with a rating of 2. The average doesn't change. Correct.
* I go back as an admin and approve their comment. Now the average shows 2 votes with an average of 2.5. What happened here? It's taking the first and third review I made and ignoring the second! Very weird.
* Now I use rootical's fix above and edit the comment, and click save. The view still shows 2 votes, but now the average is 2. So it's completely ignoring the first two reviews now, and acting as if I submitted the third review twice. In fact, the vote count increases by one for every time I go back and edit the comment.

drum5ormore’s picture

Version: 7.x-2.0-alpha1 » 7.x-2.0-alpha2

* Changing to alpha2 as that is where I am experiencing the issue

rootical’s picture

Fixed with the latest update. I don`t know what was it core field module or fivestar. Anyway thanks for these critical being fixed

rootical’s picture

Status: Active » Closed (fixed)
rootical’s picture

Issue summary: View changes

some comas