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)
Change History (3)
by , 12 years ago
Attachment: | ticket2230.patch added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.