[Mapguide-trac] [mapguide-trac] #2480: MgReader.GetPropertyIndex() on an invalid property name should return -1
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Mar 14 09:55:56 PDT 2018
#2480: MgReader.GetPropertyIndex() on an invalid property name should return -1
---------------------+----------------------
Reporter: jng | Owner: jng
Type: defect | Status: closed
Priority: low | Milestone: 3.1.1
Component: Web API | Version: 2.6.0
Severity: trivial | Resolution: fixed
Keywords: | External ID:
---------------------+----------------------
Changes (by jng):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"9369" 9369]:
{{{
#!CommitTicketReference repository="" revision="9369"
Don't throw on bad property name in GetPropertyIndex, just return -1. This
is the expected contract that other reader types already fulfil. Why
should MgFeatureReader be an exception?
Fixes #2480
}}}
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2480#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list