core icon indicating copy to clipboard operation
core copied to clipboard

Error getting User Rating in getRating macro

Open mabouza opened this issue 14 years ago • 4 comments

In the macro getRating when calling this method #set($userRating = $rating.getRating($content.identifier))

userRating returns 0 if the current user voted on the content and removes their cookies.

mabouza avatar Apr 18 '12 22:04 mabouza

Ravi will QA test

DeanGonzalez avatar May 29 '12 13:05 DeanGonzalez

This is the behavior I am getting in this screencast: http://screencast.com/t/eNrfjCF7TeD

I need to know what is the expected behavior here.

DeanGonzalez avatar Jun 13 '12 17:06 DeanGonzalez

This is a screenshot of 1.9.5 where the content displayed the number of votes and the average rating... we apparently lost this in 2.0 http://screencast.com/t/Fli6tOOx

DeanGonzalez avatar Jun 13 '12 20:06 DeanGonzalez

I created another issue to get the rating tool to work more like it did in 1.9.5: https://github.com/dotCMS/dotCMS/issues/591 will follow fixes on that issue

DeanGonzalez avatar Jun 13 '12 20:06 DeanGonzalez