Bug 366430

Summary: when rating "star" is clicked, wrong star(s) selected
Product: [Applications] Discover Reporter: Spencer Brown <spencerbrown991>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.7.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.8
Sentry Crash Report:

Description Spencer Brown 2016-08-05 01:06:15 UTC
In the review dialog of an application page

Reproducible: Always

Steps to Reproduce:
1. Open Discover
2. Open an application info page
3. Click "Review"
4. Click one of the star icons on the top-left of the dialog.

Actual Results:  
 The wrong number of stars are selected/highlighted!
(e.g. if you tried to rate the application 5 out of 5, and so clicked the 5th star, only the fourth star would be selected - rating the application 4/5.  Thus, there is no way to rate the application a full 5/5.  And if you click the first star the same behavior applies(zero stars are selected) and the star icons disapear until discover is closed and reopened.

Expected Results:  
The star you selected and any preceding stars should have been highlighted, giving the application a rating of whatever star you clicked.
Comment 1 Aleix Pol 2016-08-24 20:19:23 UTC
Fixed as of 3f370a557d332c6750f79120143f276123e4b9eb