Opened 17 years ago

Closed 17 years ago

#336 closed defect (fixed)

Unable to preview extended feature class created by adding a calculated property

Reported by: ronnielouie Owned by: ronnielouie
Priority: medium Milestone: 2.0
Component: General Version: 2.0.0
Severity: major Keywords:
Cc: External ID: 1002132

Description

Steps to recreate using MapGuide Studio:

Create a new feature source by uploading any shp data, converting to sdf. Open the new feature source and add a new calculated property. Use the Expression Editor to create any valid expression. Accept the default names for both the new extended feature class and the calculated property. Switch to Preview mode. Click on Refresh. Under the heading for the new extended feature class , click on either View Data or View Feature.

Using PHP preview pages:

Navigate to http://<servername>/mapguide/schemareport/main.php Specify feature source, schema, and classname (try both the extended classname and the original classname.) Click View Data or View Feature

Expected result: If View Data was clicked on, the right pane of the preview screen should show a table displaying the properties of the feature class including the new calculated property: if View Features was clicked on, the right pane should display the geometries of the feature class.

Actual result: Both View Data and View Feature cause the following message to be displayed in the right pane of the preview panel: "An exception occurred in FDO component. Item '(extendedClassName)' not found in collection " No data or geometries are displayed.

Note: If you click on View Data under the primary feature class name , the data table is displayed with an extra column heading that bears the name of the new calculated property. No data is displayed in the column, however. View Feature works as expected in this case.

Change History (1)

comment:1 by ronnielouie, 17 years ago

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