Closed Bug 1135570 Opened 9 years ago Closed 9 years ago

“Report” link does not work correctly for anonymous users

Categories

(Marketplace Graveyard :: Consumer Pages, defect)

Avenir
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
2015-02-24

People

(Reporter: vvalentina, Unassigned)

Details

Steps to reproduce:
1. Load MP-stage “Reviews” page for an app (i.e. https://marketplace.allizom.org/app/fruit-cut-ninja/ratings while user is signed out
2. Click the “Report” link for any review
3. Refresh the “Reviews” page

Expected results:
The "Report" link is not listed anymore.

Actual results:
The "Report" link is listed but if an anonymous user tries to flag the same review again, the message “Sorry there was an issue flagging the review. Please try again later” appears.

Notes/Issues:
Verified on FF38(Win 7). Issue is reproducing on MP-stage and MP-dev.
Screencast for this issue http://screencast.com/t/qxbLby0G5Oi
I had https://github.com/mozilla/zamboni/pull/2926 to fix this, but it would decrease performance since it adds an extra DB query per review. This would be blocked on upgrading Django, or determining another solution.
It sounds like we should hide the report link in the meanwhile.
You can't because you don't have a way to tell it's already been flagged.
The performance concern is legitimate.  I don't think this is something we need to spend time on now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.