Last modified: 2007-08-27 20:14:15 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 T13067, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11067 - Existing image not showing in upload page
Existing image not showing in upload page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Brion Vibber
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-26 08:44 UTC by Sébastien Leblanc
Modified: 2007-08-27 20:14 UTC (History)
1 user (show)

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


Attachments
Screenshot of the bug, where existing image is not shown on upload page. (71.48 KB, image/png)
2007-08-26 08:44 UTC, Sébastien Leblanc
Details

Description Sébastien Leblanc 2007-08-26 08:44:59 UTC
Created attachment 4041 [details]
Screenshot of the bug, where existing image is not shown on upload page.

There is no image shown when overwriting an existing image. See attached screenshot! =)

The screenshot is fairly self-explanatory, really.

I did recreate this bug, by uploading a second file, and it happened both time. The first time, I had EvilCat's theme. I've even disabled it to make sure it wasn't causing the bug.

Browser: Mozilla Firefox 2.0.0.6
Comment 1 Sébastien Leblanc 2007-08-26 08:52:40 UTC
Two in one!  I've viewed the source code of the page and found out two things:

1- The CSS class of the thumbnail box is messed up ( <div class="thumb t<"> ) I'm not so sure that CSS classes can contain &lt; and &gt;.
2- The content of the box itself was "Error creating thumbnail:"

So we have a broken box supposed to display a text about a broken thumbnail. 

###

<div class="thumb t<">
  <div class="thumbinner" style="width: 2px;">
    Error creating thumbnail:
  <div class="thumbcaption"><</div>  //Note the presence of '<' in the error template caption.
  </div>
</div>
Comment 2 Brion Vibber 2007-08-27 20:14:15 UTC
Fixed in r25208; some pretty weird breakage in certain code paths. :)

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


Navigation
Links