tubackkhoa / gbif-dataportal

Automatically exported from code.google.com/p/gbif-dataportal
0 stars 1 forks source link

data resource page fails to load if logo URL cannot be found #102

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
An invalid logo_url entry in table data_resource prevents the data resource 
page from loading. The visible effect is that it appears to be loading for a 
long time, eventually resulting in a white page just containing the framing 
elements (header). 

An example for this was http://data.gbif.org/datasets/resource/1430/, with a 
logo_url entry of 
http://www.bioversityinternational.org/networks/euforgen/news/Bioversity-big.gif
. In a web browser, the link results in a "page not found" error displayed 
within the holding institutions web frames. Deleting the URL from the 
data_resource table fixed the effect, but it can re-occur for this and other 
datasets (and possibly publisher pages) unless the error is caught in the 
portal application. 

Suggestion: as the logo is in no way critical to the display of metadata 
content, a logo link not resolvable within short time should be abandoned, 
proceeding with the rest of page load.

Original issue reported on code.google.com by ah...@gbif.org on 24 Mar 2011 at 3:12