Opened 12 years ago

Closed 12 years ago

#2230 closed defect (fixed)

Describe schema from SQL Server failed when using user-defined functions in calculation property

Reported by: zhanga Owned by: zhanga
Priority: low Milestone: 2.5
Component: Feature Service Version: 2.4.0
Severity: major Keywords:
Cc: External ID: 1493845

Description

If using user-defined functions when creating a calclation property in a SQL Server feature source, the describe schema command always failed. The error message is: Item "xxx" not found in collection.

Attachments (1)

ticket2230.patch (907 bytes ) - added by zhanga 12 years ago.

Download all attachments as: .zip

Change History (3)

by zhanga, 12 years ago

Attachment: ticket2230.patch added

comment:1 by zhanga, 12 years ago

The reason of the defect is that the user-defined functions are not added to the functions collection. We need to call FdoIExpressionCapabilities::GetFunctions() explicitly to ensure all user-defined functions are loaded.

comment:2 by jng, 12 years ago

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