Opened 11 years ago

Closed 11 years ago

#363 closed defect (fixed)

Expected MgInvalidArgumentException is not thrown in MgFeatureQueryOptions::AddFeatureProperty() when adding an empty property name.

Reported by: jessicacao Owned by: Tom Fukushima
Priority: medium Milestone: 2.0
Component: General Version:
Severity: major Keywords: MgFeatureQueryOptions::AddFeatureProperty
Cc: Trevor Wekel External ID: 985087


Expected MgInvalidArgumentException? is not thrown in MgFeatureQueryOptions::AddFeatureProperty?() when adding an empty property name.

Step to recur:

  1. Construct a MgFeatureQueryOptions? object.
  1. Call AddFeatureProperty?() with an empty string as argument.

Sample code:

MgFeatureQueryOptions? featQueryOpt = new MgFeatureQueryOptions?();

MgInvalidArgumentException expected.


Expect result: MgInvalidArgumentException?

Actual result: No exception thrown

Change History (1)

comment:1 Changed 11 years ago by trevorwekel

Resolution: fixed
Status: newclosed

Patch submitted by Jessica Cao

Note: See TracTickets for help on using tickets.