[mapguide-trac] #456: Add IsNull() internal check to all GetXXX() APIs of the various readers

MapGuide Open Source trac_mapguide at osgeo.org
Sat Feb 23 17:27:12 EST 2008


#456: Add IsNull() internal check to all GetXXX() APIs of the various readers
-------------------------------+--------------------------------------------
   Reporter:  brucedechant     |       Owner:       
       Type:  defect           |      Status:  new  
   Priority:  medium           |   Milestone:  2.0  
  Component:  Feature Service  |     Version:  2.0.0
   Severity:  major            |    Keywords:       
External_id:  943968           |  
-------------------------------+--------------------------------------------
 The existing readers do not call the IsNull() when executing the various
 GetXXX() APIs and this can cause an unclassified exception when a client
 application doesn't call the IsNull() first to see if it can actually call
 one of the GetXXX() APIs.

 The GetXXX() APIs of the readers need to be modified to internally call
 the IsNull() and thrown an MgNullPropertyValueException back to the client
 if an attempt is made to read a NULL property value.

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


More information about the mapguide-trac mailing list