[mapguide-trac] #1175: Failed to set map name using MgMap.Open

MapGuide Open Source trac_mapguide at osgeo.org
Tue Dec 22 02:36:00 EST 2009


#1175: Failed to set map name using MgMap.Open
---------------------+------------------------------------------------------
 Reporter:  liuar    |         Owner:         
     Type:  defect   |        Status:  closed 
 Priority:  low      |     Milestone:         
Component:  General  |       Version:  2.0.2  
 Severity:  trivial  |    Resolution:  fixed  
 Keywords:           |   External_id:  1289006
---------------------+------------------------------------------------------
Comment (by christinebao):

 The patch looks good.

 In MgResource::Open(m_resourceService, resId); m_name is deserialized from
 stream, thus m_name = mapName; is override. To keep m_name is mapName as
 expected, the code should be moved down.

 The code is submitted on behalf of Spark Liu to fix this ticket.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1175#comment:3>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list