Closed Bug 1069423 Opened 10 years ago Closed 10 years ago

Fix status of add-on with ID 543524

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2014-10

People

(Reporter: jorgev, Assigned: clouserw)

Details

(Whiteboard: [qa-])

The developer deleted the listing, so it has status=11. It needs to be corrected to status=1 so they can submit again with the same add-on GUID. Alternatively, the guid column could be cleared or modified for that listing so the developer can create a new listing.
Tried to do this via django, but got an error. We probably override that method for "deleted" add-ons:

> >>> from addons.models import Addon
> >>> x = Addon.objects.get(pk=543524)
> DoesNotExist: Addon matching query does not exist.

So did via the database which might take some time to get through the cache:

> mysql> select status from addons where id=543524\G
> *************************** 1. row ***************************
> status: 11
> 1 row in set (0.00 sec)
> 
> mysql> update addons set status=1 where id=543524;
> Query OK, 1 row affected (0.00 sec)
> Rows matched: 1  Changed: 1  Warnings: 0
> 
> mysql> select status from addons where id=543524\G
> *************************** 1. row ***************************
> status: 1
> 1 row in set (0.00 sec)
Assignee: nobody → clouserw
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Please add STR here or mark it with [qa-] if no QA is needed.
Whiteboard: [qa-]
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.