Closed Bug 333185 Opened 19 years ago Closed 18 years ago

Comments can be rated an unlimited number of times by the same user (Was this comment helpful?)

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: standsongrace, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 I rated a comment on an extension. I noticed when I went back to the extension page, that "X of X viewers found this comment helpful" had not incremented immediately, I don't know if this has anything to do with the bug. Then the latest AMO update was applied, and I logged in again under a different IP (again, not sure if IP is relevant). I then saw that "X of X viewers found this comment helpful", and I tried rating the comment again. After a bit, the comment rating counter incremented - I had successfully rated the same comment twice. Probably all comments rated before the update can be rated again? Reproducible: Always Expected Results: A user should not be able to rate a comment more than once.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Okay, because of comment rating takes a while to update, I didn't notice, but actually this bug is very straightforward - a user can rate a comment an unlimited number of times. The counter just doesn't update immediately. This has probably been abused already.
Severity: normal → major
Summary: Comments can sometimes be rated more than once by the same user (Was this comment helpful?) → Comments can be rated an unlimited number of times by the same user (Was this comment helpful?)
Eg. https://addons.mozilla.org/addon.php?id=1767 23 ratings were made by a single viewer (myself).
Organising bugs. Sorry for the bugspam.
Version: unspecified → 2.0
I dunno what we'll do about this, exactly, but we should at least put a plan together for the 2.1 update. (To the batqueue!)
Assignee: morgamic → nobody
Target Milestone: 1.0 → 2.1
Due to the database schema, we don't actually track anything on a per-rating basis (it just increment's the count), so this could potentially be a significant modification. :( /me heads to the batcave.
Target Milestone: 2.1 → ---
In Remora, ratings are rolled into Reviews, and Reviews need to be approved by an editor before they are live, which should prevent rating spam. Marking this as fixed.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.