Resolution: Won't Fix
Affects Version/s: 2.0 branch (discontinued)
Fix Version/s: None
In the code of the RatingPanel (259) there is a comment line with the
// add the text label for the message 'Rating 4.5 out of 25 votes'
with the following code
ratingLabel = newRatingLabel(rater, "rating", rating, nrOfVotes);
where the 'rating' variable should have the value '4.5' (see comment), but the type of this object is IModel<Integer>.
I think this should be changed into IModel<Float> or IModel<Double>.