[mapguide-commits] r7881 - branches/maestro-5.0.x/OSGeo.MapGuide.MaestroAPI
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Sep 30 05:36:05 PDT 2013
Author: jng
Date: 2013-09-30 05:36:05 -0700 (Mon, 30 Sep 2013)
New Revision: 7881
Modified:
branches/maestro-5.0.x/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs
Log:
#2351: Merge to 5.0.x
Modified: branches/maestro-5.0.x/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs
===================================================================
--- branches/maestro-5.0.x/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs 2013-09-30 12:33:02 UTC (rev 7880)
+++ branches/maestro-5.0.x/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs 2013-09-30 12:36:05 UTC (rev 7881)
@@ -644,7 +644,8 @@
if (nx.NodeType == System.Xml.XmlNodeType.Element)
lst.Enqueue(nx);
- if (n.Name == "ResourceId") //NOXLATE
+ //Anything not "ResourceId" is from the LoadProcedure
+ if (n.Name == "ResourceId" || n.Name == "SpatialDataSourcesPath" || n.Name == "LayersPath" || n.Name == "RootPath" || n.Name == "MapsPath" || n.Name == "SymbolLibrariesPath") //NOXLATE
{
string current = n.InnerXml;
if (folderupdates && current.StartsWith(oldresourcepath))
@@ -654,7 +655,9 @@
}
foreach (System.Xml.XmlAttribute a in n.Attributes)
- if (a.Name == "ResourceId") //NOXLATE
+ {
+ //Anything not "ResourceId" is from the LoadProcedure
+ if (a.Name == "ResourceId" || n.Name == "SpatialDataSourcesPath" || n.Name == "LayersPath" || n.Name == "RootPath" || n.Name == "MapsPath" || n.Name == "SymbolLibrariesPath") //NOXLATE
{
string current = a.Value;
if (folderupdates && current.StartsWith(oldresourcepath))
@@ -662,6 +665,7 @@
else if (current == oldresourcepath)
n.Value = newresourcepath;
}
+ }
}
//There can be no objects in an xml document or node, so just return immediately
More information about the mapguide-commits
mailing list