Opened 14 years ago

Closed 14 years ago

#680 closed defect (fixed)

SHP: ApplySchema will not set the correct class capabilities if adding a new feature class

Reported by: leaf Owned by: gregboone
Priority: major Milestone: 3.6.0
Component: SHP Provider Version: 3.4.0
Severity: 3 Keywords:
Cc: External ID:

Description

  1. Use ApplySchema command to add a new feature class for a SHP file.
  2. Descirbe schema to get class defintion of the newly created feature class.
  3. Get class capabilities of this feature class.

Result:

  1. If you didn't set class capabilites of the newly added feature class in the first step, the result gotten in third step will be null.
  1. If you didn't set class capabilites of the newly added feature class in the first step, the result gotten is same as the class capabilites you set.

Expected:

  1. Class capabilities should be always returned no matter users set it or not when executing ApplySchema command.
  2. Class capabilities should not be same as value that users set when executing ApplySchema command because users may set the wrong value for class capabilities. For example, set SetSupportsLongTransactions true. However, SHP doesn't support it.

Change History (1)

comment:1 by leaf, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.