[mapguide][MG346][New] SelectFeatures on computed field causes MgUnclassifiedExcept...

Ronnie Louie ronnie.louie at autodesk.com
Tue Aug 1 16:09:35 EDT 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG346

Type
 Defect

Artifact ID
 MG346 (SelectFeatures on computed field causes MgUnclassifiedException)

Reported by
 Ronnie Louie
 ronnielouie (ronnie.louie at autodesk.com)

New artifact details:
---------------------------------------------------------

- Subcomponent set to new value
  Feature Service
- Summary set to new value
  SelectFeatures on computed field causes MgUnclassifiedException
- Resolution Description set to new value
  The test for on the computed property is not detecting null because the isNull flag is not set.  To address this, the exception from the property retrieval is caught and the isNull flag will be set when this occurs.
- Artifact Status set to new value
  New
- Artifact created
- Defect Severity set to new value
  High
- Priority set to new value
  P1
- Steps to Reproduce set to new value
  Execute php script that call FeatureService::SelectFeatures() API with the computed property option set in the the feature query options parameter.
- Version set to new value
  1.0.1
- External ID set to new value
  797362, 796344
- Component set to new value
  Server
- Target milestone set to new value
  1.0.2
- Description set to new value
  When executing a SelectFeature request on a computed property field, an MgUnclassifiedException is thrown, and an incomplete feature set is returned.

The defect is the result of null value in the original property.  These nulls are retrieved correctly when the original property is retrieved.  When the property is used as computed property, the retrieval fails because FDO does not set the isNull flag, which leads to the exception.  The defect is addressed by catching the exception and setting the isNull flag.


---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list