[mapguide-commits] r7499 - trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun May 19 22:53:59 PDT 2013


Author: jng
Date: 2013-05-19 22:53:58 -0700 (Sun, 19 May 2013)
New Revision: 7499

Modified:
   trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/CompileFullDependencyListCommand.cs
Log:
#2268: Fix dependency compilation failure for Flexible Layouts.

Modified: trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/CompileFullDependencyListCommand.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/CompileFullDependencyListCommand.cs	2013-05-19 21:50:21 UTC (rev 7498)
+++ trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/CompileFullDependencyListCommand.cs	2013-05-20 05:53:58 UTC (rev 7499)
@@ -59,7 +59,8 @@
                 doc.Load(s);
 
                 var matches = Utility.GetResourceIdPointers(doc);
-                return matches.Select(x => x.Value);
+                //Need to weed out any empty results.
+                return matches.Select(x => x.Value).Where(x => !string.IsNullOrEmpty(x));
             }
         }
 



More information about the mapguide-commits mailing list