Last modified: 2011-06-13 15:57:42 UTC
Live Commons often is slow to generate thumbnails due to thumbnail server overloading, or because the generation occurs in a shelled-out process. Our stashImageInfo calls only return the URLs of where the thumbnails are *supposed* to be. It doesn't mean these URLs won't return errors for some amount of time. The result is that thumbnails are not ready when they are asked for, resulting in 404 errors. These errors are then cached within UploadWizard. Related: we also fetch the same thumbnail (same specifications) too many times. If we want the same thumbnail on two different pages it gets fetched twice. The solution is to use a mini publish-and-subscribe system within the UploadWizard, that checks for the availability of thumbnails and then updates the interface when they are ready.
*** Bug 26001 has been marked as a duplicate of this bug. ***
Should be largely fixed by r87314 but need to do a bit more testing
Seems to definitely be fixed as of r89918, which has the pubsub system described in the first comment. Also some later thumbnails (like the thanks page) were fetched via API all over again due to not specifying the height parameter, so they looked like different thumbnails.