Document icons missing from ux2 (or possibly ux1)

Bug #1018355 reported by Paul Everitt on 2012-06-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Low
Unassigned

Bug Description

Our error alarm is spewing tons of:

type: <type 'exceptions.Exception'>
Exception when processing https://karl.soros.org/static/r1339012591/images/doc_small.gif
Referer: None

Traceback (most recent call last):
 File "/srv/osfkarl/deploy/4/eggs/pyramid-1.2.1-py2.6.egg/pyramid/tweens.py", line 17, in excview_tween
   response = handler(request)
 File "/srv/osfkarl/deploy/4/eggs/pyramid-1.2.1-py2.6.egg/pyramid/router.py", line 151, in handle_request
   raise HTTPNotFound(msg)
HTTPNotFound: /static/r1339012591/images/doc_small.gif

type: <type 'exceptions.Exception'>
Exception when processing https://karl.soros.org/static/r1339012591/images/ppt_small.gif
Referer: None

Traceback (most recent call last):
 File "/srv/osfkarl/deploy/4/eggs/pyramid-1.2.1-py2.6.egg/pyramid/tweens.py", line 17, in excview_tween
   response = handler(request)
 File "/srv/osfkarl/deploy/4/eggs/pyramid-1.2.1-py2.6.egg/pyramid/router.py", line 151, in handle_request
   raise HTTPNotFound(msg)
HTTPNotFound: /static/r1339012591/images/ppt_small.gif

JimPGlenn (jpglenn09) on 2012-07-02
Changed in karl3:
milestone: m109 → m110
Paul Everitt (paul-agendaless) wrote :

Actually, let's see if Carlos can do this one this week, in time for Friday's rollout.

Changed in karl3:
milestone: m110 → m111
assignee: Balazs Ree (ree) → Carlos de la Guardia (cguardia)
milestone: m111 → m110
Carlos de la Guardia (cguardia) wrote :

This would happen when an old static url is cached on a browser (for example, right after an update). I was not able to reproduce the issue, but I don't have IE and I would bet that it has a hand in this, given its history of caching woes.

After an update, if a page is cached on the user's file system and the browser does not check with the server on reload, the browser may try to get the images from the old location.

We could add code in our not found view to handle this, perhaps redirecting to the current static url when something on the static path is not found.

Before that, though, I will check for this behavior using IE tomorrow.

Changed in karl3:
status: New → In Progress
Paul Everitt (paul-agendaless) wrote :

I think this is a bug that already went to Balazs and he did a fix for.

Changed in karl3:
assignee: Carlos de la Guardia (cguardia) → nobody
importance: High → Low
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers