#2480 closed defect (fixed)
MgReader.GetPropertyIndex() on an invalid property name should return -1
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | 3.1.1 |
Component: | Web API | Version: | 2.6.0 |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
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.
Change History (3)
comment:1 by , 7 years ago
Milestone: | → 3.1.1 |
---|
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 9369: