Closed Bug 741704 Opened 14 years ago Closed 11 years ago

unable to delete review for disabled by administrator add-on

Categories

(addons.mozilla.org Graveyard :: Public Pages, enhancement, P5)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 Build ID: 20120314111819 Steps to reproduce: 1. Open my profile on AMO <https://addons.mozilla.org/en-US/firefox/user/33085/>. 2. Trying to delete last review <https://addons.mozilla.org/en-US/firefox/addon/ap-search-tools/reviews/243037/delete> for «disabled by administrator» add-on <https://addons.mozilla.org/en-US/firefox/addon/ap-search-tools/>. Actual results: Nothing with normal click. «Not Found» error when opening delete link in new tab. Expected results: Review for disabled add-on should be deleted.
Attached image Not found page
The 404 (rather than a 403) was a good clue. The reason is that the delete view has the @addon_view decorator which filters out non "valid" addons, which includes those that are "disabled by an administrator". So clicking the delete link results in a 404. Should we either: 1) Remove the "Delete review" link (and "Edit review" link) from the user profile page, since disabled add-ons aren't seen anyway? or 2) Fix the delete view to allow non "valid" addons to be deleted?
Assignee: nobody → robhudson.mozbugs
I think we should not show reviews for disabled (read: non-valid) add-ons
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
I agree, hiding comments in that way is a good solution.
Assignee: robhudson.mozbugs → nobody
Severity: normal → enhancement
Priority: -- → P5
Thanks for filing this. Due to resource constraints we are closing bugs which we won't realistically be able to fix. If you have a patch that applies to this bug please reopen. For more info see http://micropipes.com/blog/2014/09/24/the-great-add-on-bug-triage/
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: