Red Hat Bugzilla – Bug 178077
Check problems with Ubuntu bugzilla
Last modified: 2007-11-30 17:11:21 EST
Apparently the Ubuntu and Kernel bugzillas aren't functioning properly. Find out
what the problem is.
Kernel bugzilla seems to work fine.
The problem with the ubuntu bugzilla seems to be that it doesn't provide a
favicon.ico at all. When the search moves from
http://bugzilla.ubuntu.com/favicon.ico to http://ubuntu.com/favicon.ico it gets
a non-standard "file not found" page from the server, that tricks it to think
that it's an image and it creates an image descriptor from this data. When it
tries to get an ImageData from the descriptor later on (to check if it's not
null) an exception gets thrown because the ImageDescriptor doesn't have valid
We need to add a check for this.
Here's a patch that checks to see if the ImageData is valid or not by attempting
to get it from the ImageDescriptor and looking for the appropriate exceptions.
This makes the Ubuntu bugzilla default to the regular icon.
Andrew, could you take a look and let me know if this looks alright?
Created attachment 123338 [details]
Patch to fix non-existant icon problem
This patch is against CVS HEAD (with your Andrew's previous patch already
(In reply to comment #4)
> Created an attachment (id=123338) 
> Patch to fix non-existant icon problem
This patch looks good and I think it should be applied. However, Ubuntu
recently moved away from bugzilla so that entry should probably be removed. If
launchpad/malone works as a standard bugzilla instance, the let's just change
the URL. Otherwise, this could be a good first test of the extensibility of
Patch committed. I also took out the Ubuntu bugzilla for now.