[mapguide-trac] #336: Unable to preview extended feature class created by adding a calculated property

MapGuide Open Source trac_mapguide at osgeo.org
Fri Nov 23 14:44:13 EST 2007


#336: Unable to preview extended feature class created by adding a calculated
property
---------------------------+------------------------------------------------
   Reporter:  ronnielouie  |       Owner:  ronnielouie
       Type:  defect       |      Status:  new        
   Priority:  medium       |   Milestone:  2.0        
  Component:  General      |     Version:  2.0.0      
   Severity:  major        |    Keywords:             
External_id:  1002132      |  
---------------------------+------------------------------------------------
 Steps to recreate using MapGuide Studio:[[BR]]

 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:[[BR]]

 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.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/336>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list