Opened 16 years ago
Closed 15 years ago
#796 closed defect (invalid)
Expression Functions(If,Lookup,Range) are not working
Reported by: | mgluobin | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 2.0.1 |
Severity: | blocker | Keywords: | |
Cc: | External ID: |
Description
When i execute the code in PHP with the sample data,such as : $resourceName = "Library://Samples/Sheboygan/Data/RoadCenterLines.FeatureSource"; $resId = new MgResourceIdentifier($resourceName); $aggregateOptions = new MgFeatureAggregateOptions(); $aggregateOptions->AddComputedProperty("rangeTest", "Range(Autogenerated_SDF_ID, 4.0, 1, 100, 6.0, 100, 200, 8.0)"); $dataReader = $featureService->SelectAggregate($resId, 'SHP_Schema:RoadCenterLines', $aggregateOptions);
There are such errors:An exception occurred in FDO component. Item 'RANGE' not found in collection An exception occurred in FDO component. Item 'RANGE' not found in collection Exception occurred in method MgServerSelectFeatures.SelectFeatures at line 249 in file f:\mapguide\2.3.1\mgdev\server\src\services\feature\ServerSelectFeatures.cpp
Change History (5)
comment:1 by , 16 years ago
Component: | Feature Service → General |
---|
comment:2 by , 16 years ago
comment:3 by , 16 years ago
when i add the quotes,there is the same erros. Can anyone give me the directions of Expression Functions(If,Lookup,Range).thanks.
comment:4 by , 16 years ago
Syntax for these functions and examples can be found at https://trac.osgeo.org/mapguide/wiki/MapGuideRfc32
comment:5 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Sounds like syntax was incorrect, rather than a bug? Closing as invalid.
Does range need to be in single quotes?
Please always post to the mailing list before filing bugs