Ticket #185 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

gracefully handle empty description on geoentities

Reported by: thomase Assigned to: sgillies
Priority: major Milestone: Senate House
Component: OpenLayers Version: Beta
Keywords: customization Cc: thomase

Description

on trying to draw the entity context map, PleiadesOpenLayers throws a javascript error as follows:

TypeError: OpenLayers.Util.getNodes(itemlist[i], "description")[0].firstChild has no properties

Either we need to handle blank descriptions gracefully, or we need to require population of description in GeoEntity?.

Change History

10/09/06 13:32:57 changed by sgillies

  • keywords set to customization.
  • status changed from new to assigned.
  • milestone set to Senate House.

Temporary solution is to customize the georss.pt template.

10/09/06 14:06:13 changed by sgillies

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r393.