[Mapguide-trac] [mapguide-trac] #2480: MgReader.GetPropertyIndex() on an invalid property name should return -1

MapGuide Open Source trac_mapguide at osgeo.org
Wed Aug 20 05:58:19 PDT 2014


#2480: MgReader.GetPropertyIndex() on an invalid property name should return -1
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng  
       Type:  defect   |      Status:  new  
   Priority:  low      |   Milestone:       
  Component:  Web API  |     Version:  2.6.0
   Severity:  trivial  |    Keywords:       
External_id:           |  
-----------------------+----------------------------------------------------
 Currently, calling MgReader.GetPropertyIndex() on an invalid property name
 will throw a MgObjectNotFoundException.

 In such cases, returning -1 is sufficient to indicate an invalid property.

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


More information about the mapguide-trac mailing list