[Mapguide-trac] [mapguide-trac] #2274: RuntimeMap Save() can cause MgUnclassifiedExceptions on subsequent rendering operations

MapGuide Open Source trac_mapguide at osgeo.org
Tue May 21 09:16:12 PDT 2013


#2274: RuntimeMap Save() can cause MgUnclassifiedExceptions on subsequent
rendering operations
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng        
       Type:  defect   |      Status:  new        
   Priority:  low      |   Milestone:  Maestro-5.0
  Component:  Maestro  |     Version:             
   Severity:  trivial  |    Keywords:             
External_id:           |  
-----------------------+----------------------------------------------------
 When a RuntimeMap is saved, subsequent rendering operations may throw a
 MgUnclassifiedException.

 This is due to the MgMap deserialization code naively reading in groups
 as-is and doing parent group assignment on groups that may not have been
 read yet.

 While the true fix is to defer parent group assignment for groups that
 haven't been deserialized yet, we can add an easy workaround on the
 RuntimeMap side by forcing the groups to be serialized out in a certain
 order.

  * Groups without parents
  * Child groups of the above groups
  * Child groups of the above groups
  * etc, etc

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


More information about the mapguide-trac mailing list