[Mapguide-trac] [mapguide-trac] #2433: Do alias substitution for configuration documents

MapGuide Open Source trac_mapguide at osgeo.org
Thu Apr 17 05:58:03 PDT 2014


#2433: Do alias substitution for configuration documents
--------------------------------+-------------------------------------------
   Reporter:  jng               |       Owner:     
       Type:  enhancement       |      Status:  new
   Priority:  low               |   Milestone:     
  Component:  Resource Service  |     Version:     
   Severity:  trivial           |    Keywords:     
External_id:                    |  
--------------------------------+-------------------------------------------
 According to #1664, it was claimed that it was possible to create
 configuration documents with aliases, and they would be properly
 substituted.

 However, according to my own tests this is not the case. Checking the
 resource service code confirmed my findings.

 In the method MgApplicationRepositoryManager::GetResourceData(), the
 MgDataBindingInfo object was set to replace data file paths and user
 credentials, but not set to substitute aliases.

 Calling dataBindingInfo.SetSubstituteUnmanagedDataMappings(true) will do
 the necessary substitution

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


More information about the mapguide-trac mailing list