Opened 17 years ago
Closed 17 years ago
#344 closed defect (fixed)
MgPropertyCollection:: Remove() returns true when trying to remove a non-existing element
Reported by: | jiab | Owned by: | trevorwekel |
---|---|---|---|
Priority: | medium | Milestone: | 2.0 |
Component: | General | Version: | |
Severity: | minor | Keywords: | Remove, MgPropertyCollection |
Cc: | External ID: | 985061 |
Description
Step to recur:
- Construct a MgPropertyCollection object, and a MgBooleanProperty object.
- Call Remove() using the MgBooleanProperty object as argument.
Sample code:
MgPropertyCollection props= new MgPropertyCollection();
MgBooleanProperty boolProp = new MgBooleanProperty("prop1", true);
bool result = props.Remove(boolProp);
Expect result: false
Actual result: true
Change History (2)
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Milestone: | → 2.0 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed by
http://trac.osgeo.org/mapguide/changeset/2524