If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

[NAMO] Overzealous rewrite breaks preview images

VERIFIED FIXED

Status

Infrastructure & Operations
WebOps: Other
--
critical
VERIFIED FIXED
7 years ago
4 years ago

People

(Reporter: clouserw, Assigned: oremj)

Tracking

Details

(Reporter)

Description

7 years ago
This page has preview images on it but they are broken: https://next.addons.mozilla.org/en-US/firefox/addon/1865/


The image trying to load is:

https://next.addons.mozilla.org/en-US/firefox/img/uploads/nexts/full/13/13530.png?modified=1177025970

On preview a similar image is:

https://preview.addons.mozilla.org/img/uploads/previews/full/45/45281.png?modified=1272616740

I suspect next is just s/preview/next/ in the URLs and breaking this, since .../nexts/... shouldn't exist anywhere.
Severity: normal → critical
(Assignee)

Updated

7 years ago
Assignee: server-ops → jeremy.orem+bugs
(Assignee)

Comment 1

7 years ago
Fixed:

PREVIEW_THUMBNAIL_URL = (STATIC_URL +
        '/img/uploads/previews/thumbs/%s/%d.png?modified=%d')
PREVIEW_FULL_URL = (STATIC_URL +
        '/img/uploads/previews/full/%s/%d.png?modified=%d')
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Verified FIXED; thanks!
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.