[mapguide-trac] #842: Null pointer checks needed for GetExtent

MapGuide Open Source trac_mapguide at osgeo.org
Wed Feb 11 19:41:41 EST 2009


#842: Null pointer checks needed for GetExtent
----------------------------+-----------------------------------------------
   Reporter:  tomfukushima  |       Owner:       
       Type:  defect        |      Status:  new  
   Priority:  medium        |   Milestone:  2.1  
  Component:  Web API       |     Version:  2.0.1
   Severity:  minor         |    Keywords:       
External_id:                |  
----------------------------+-----------------------------------------------
 Calling GetExtent on an empty SDF will result in null pointer exceptions.
 These changes change the behavior of the API so that instead of getting a
 fatal exception, we get NULL back from the call.

 Note that this fix changes the behavior of the GetExtent API in that
 instead of throwing an exception, NULL is returned.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/842>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list