Closed Bug 1220924 Opened 9 years ago Closed 9 years ago

Existing add-ons are missing their icons on marketplace

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P1)

x86
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

VERIFIED FIXED
2015-11-10

People

(Reporter: krupa.mozbugs, Assigned: mat)

References

Details

steps to reproduce:
1. Load marketplace prod on your 2.5 fxos add-ons
2. Click on Add-ons



expected behavior:
Listed add-ons have their icons displayed(if they exist)

actual behavior:
Listed add-ons are missing their icons even if they exist.
We may need to manually extract these if they were added after full support in Marketplace.
Assignee: nobody → mpillard
Priority: -- → P1
This also reproducing for newly submitted add-ons in marketplace production: http://screencast.com/t/meB7wAVS6w
I just uploaded https://marketplace.firefox.com/content/addon/dashboard/m-in-status-bar (not public) and it extracted the icon correctly. It seems it's only a problem for existing add-ons which were uploaded before we added icons code.
Status: NEW → ASSIGNED
Fixed existing add-ons by doing:

from mkt.extensions.tasks import fetch_icon
from lib.post_request_task.task import _send_tasks
[fetch_icon.delay(ext.pk, version_pk=ext.latest_version.pk) for ext in Extension.objects.without_deleted() if ext.versions.without_deleted().exists()]
_send_tasks()

A couple addons don't have icons still, I'll check it out.
Fixed with a reindex, which I suspect ran too early in my manual attempt at fixing the existing icons.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2015-11-10
Verified as fixed in FFOS 2.5(Flame) 
Icons are displayed for both old and new add-ons.
Closing bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.