swiftsam/cmubuggy.org — Issue #12: g-content div is sometimes empty when arriving at picture via url
Author: swiftsam
Created: 2011-10-26 16:56:05+00:00
State: open
Labels: bug, gallery

as posted in the Gallery3 fourms: http://gallery.menalto.com/node/104026 ...

I've got a problem wherein visiting a picture directly by its url (often but not always) renders a page with everything but the picture. Visiting the same picture at the same url by clicking through the album works fine. Subsequent visits directly by url also work fine, so I suspect some sort of cache problem, but it is on a per-person basis. If a page renders fine for me, it may still come up blank for you if you hit the url directly. When I say "everything but the picture" I mean that the g-content div exists but is empty.

My logs reveal many many instances of this error: Undefined view variable: position
full stack trace here: http://pastebin.com/ru1ekDsE

You will most likely encounter the problem if you load a url like this one without navigating through the gallery first:
http://cmubuggy.org/gallery/2011-2012/2011-10-23/DSC_0849