Tag Toolbars as toolbar

RESOLVED FIXED in 5.12.1

Status

addons.mozilla.org Graveyard
Administration
P3
normal
RESOLVED FIXED
8 years ago
2 years ago

People

(Reporter: fligtar, Assigned: clouserw)

Tracking

Dependency tree / graph
Bug Flags:
in-testsuite -

Details

(Whiteboard: [z])

(Reporter)

Description

8 years ago
I want to delete the Toolbars category, but first we should make sure everything in it is tagged with "toolbar".

Please run a query to tag every add-on in the Toolbar category with toolbar (if it isn't already).
(Reporter)

Comment 1

8 years ago
I've been tricked
Assignee: nobody → fligtar
(Reporter)

Comment 2

8 years ago
SQL is:

INSERT INTO users_tags_addons (user_id, tag_id, addon_id, created) SELECT '9945',  '119', addon_id, NOW() FROM addons_categories WHERE category_id=92;
DELETE FROM addons_categories WHERE category_id=92;
DELETE FROM categories WHERE id=92;
(Assignee)

Updated

8 years ago
Target Milestone: 5.12 → 5.12.1
(Reporter)

Comment 3

8 years ago
I don't care much, but just curious why this didn't make 5.12?
(Assignee)

Comment 4

8 years ago
(In reply to comment #3)
> I don't care much, but just curious why this didn't make 5.12?

It's assigned to you, code freeze was upon us, and I didn't know if you were done with it.  If running the sql in comment 2 closes this bug you can assign it to me or make a new file in the migrations/ directory.
(Reporter)

Comment 5

8 years ago
The SQL is all that is required.
Assignee: fligtar → clouserw
(Assignee)

Comment 6

8 years ago
http://github.com/jbalogh/zamboni/commit/d4709703574c8b42948aa1c50ab50325a782a06d
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Not sure if this is something for which we need Selenium test (doubt it), but just in case, flagging.
Flags: in-testsuite?
(Assignee)

Comment 8

8 years ago
All this did was tag the toolbars and delete the category.  Neither are verified at any point past when this script runs.
Flags: in-testsuite? → in-testsuite-

Updated

8 years ago
Depends on: 603468

Updated

8 years ago
Depends on: 603771

Updated

8 years ago
Depends on: 604471
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.