Last modified: 2014-02-28 21:18:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50219, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48219 - Upload of an image to commons.wikimedia.org is not changing the current image
Upload of an image to commons.wikimedia.org is not changing the current image
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Media storage (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-07 16:55 UTC by Eric Fisk
Modified: 2014-02-28 21:18 UTC (History)
4 users (show)

See Also:
Web browser: Google Chrome
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Eric Fisk 2013-05-07 16:55:51 UTC
I have uploaded a new image to this page 4 times in the last day:
http://commons.wikimedia.org/wiki/File:The_Scientific_Universe.png

In all 4 cases the upload succeeded but the "current" version of the image would not change.

This is what I experienced:
1. Upload a new version of the image
2. What is shown is a copy of the old image from April 22nd.
3. After uploading, all the older image uploads become correct, showing the images I actually uploaded, not the April 22nd version.
4. Even if I revert to one of the earlier versions the current image won't change.

This bug is blocking me from updates. There is no workaround. Browser is latest version of chrome on Win7 32 bit.
Comment 1 Sam Reed (reedy) 2013-05-07 16:57:30 UTC
(In reply to comment #0)
> This bug is blocking me from updates. There is no workaround. Browser is
> latest
> version of chrome on Win7 32 bit.

Purge?
Comment 2 Eric Fisk 2013-05-07 17:02:06 UTC
Ah, I just logged in with chrome is incognito mode and it's showing the current version of the file now, even though it is still showing the old version from my browser cache. So this bug is less critical than I thought, it has something to do with browser refresh. It is still a bug.
Comment 3 Andre Klapper 2013-05-09 14:47:03 UTC
Eric: Right now I cannot reproduce a bug. 
If you still see an old version of the file somewhere (where?), could you provide exact steps (logged in? not logged in? Browser info?) where and how to see it? (For example, if you refer to a specific thumbnail size or not, and links/URLs to the specific affected image are always welcome.)

And does https://en.wikipedia.org/wiki/WP:Purge help?
Comment 4 Eric Fisk 2013-05-15 15:56:10 UTC
Andre: Thanks for looking into this. I still see the bug happening. Did you try this repro?
1. Upload a png at 1600 * 1200
2. Upload a different png at 1600 * 1200
3. Repeat steps 1 & 2 until you see the wrong image displayed after uploading. If you wait a while and then refresh the image it will eventually be correct.

Note: It is possible this is a server side caching bug. I have only seen the behavior after an image has been on wikipedia for a while. It is currently happening with this image every time I upload an update:
http://commons.wikimedia.org/wiki/File:The_Scientific_Universe.png

Expected: Never show the wrong image after upload. If necessary, inform the end user that their image will eventually be updated after it has moved through the cache or re-rendered at other resolutions or whatever it is that Wikipedia is doing.
Comment 5 Bawolff (Brian Wolff) 2013-09-20 15:38:17 UTC
(In reply to comment #4)
> Andre: Thanks for looking into this. I still see the bug happening. Did you
> try
> this repro?
> 1. Upload a png at 1600 * 1200
> 2. Upload a different png at 1600 * 1200
> 3. Repeat steps 1 & 2 until you see the wrong image displayed after
> uploading.
> If you wait a while and then refresh the image it will eventually be correct.
> 
> Note: It is possible this is a server side caching bug. I have only seen the
> behavior after an image has been on wikipedia for a while. It is currently
> happening with this image every time I upload an update:
> http://commons.wikimedia.org/wiki/File:The_Scientific_Universe.png
> 
> Expected: Never show the wrong image after upload. If necessary, inform the
> end
> user that their image will eventually be updated after it has moved through
> the
> cache or re-rendered at other resolutions or whatever it is that Wikipedia is
> doing.

Is this still happening. We had a large number of server side caching bugs around the time of your previous post which have been fixed (sort of anyways. The infrastructure surounding caching of thumbs is fragile)
Comment 6 Andre Klapper 2014-02-28 21:18:37 UTC
The specific image seems to work as expected nowadays. Closing this ticket.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links