[mapguide-trac] #1929: Maestro - No Geometry in Layer Prevents Map Save

MapGuide Open Source trac_mapguide at osgeo.org
Sat Jan 21 13:15:28 EST 2012


#1929: Maestro - No Geometry in Layer Prevents Map Save
----------------------------+-----------------------------------------------
   Reporter:  crispinatime  |       Owner:  jng        
       Type:  defect        |      Status:  new        
   Priority:  medium        |   Milestone:  Maestro-4.1
  Component:  Maestro       |     Version:             
   Severity:  major         |    Keywords:             
External_id:                |  
----------------------------+-----------------------------------------------
 It is not possible to save a map where there is a layer based on a
 FeatureSource schema/class that has no data populated.

 The BaseMapDefinitionValidator calls GetSpatialExtent, but the aggregate
 query throws at line 1594 of PlatformConnectionBase.cs.

 Whether this is expected or not for a SpatialExtents aggregate is moot as
 it is a valid operation to save a layer that has no data yet (in my
 example a redline SQLite schema).

 This should be handled as a warning, not an error, allowing the layer to
 be saved.

 Workaround is to use an older version of Maestro.

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


More information about the mapguide-trac mailing list