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

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon May 27 04:00:50 PDT 2013


Author: jng
Date: 2013-05-27 04:00:47 -0700 (Mon, 27 May 2013)
New Revision: 7520

Modified:
   trunk/Tools/Maestro/Maestro.Base/Commands/CutCommand.cs
Log:
Fix NRE on cut

Modified: trunk/Tools/Maestro/Maestro.Base/Commands/CutCommand.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Commands/CutCommand.cs	2013-05-24 14:47:52 UTC (rev 7519)
+++ trunk/Tools/Maestro/Maestro.Base/Commands/CutCommand.cs	2013-05-27 11:00:47 UTC (rev 7520)
@@ -75,7 +75,7 @@
                 {
                     foreach (var ri in rs)
                     {
-                        var conn = connMgr.GetConnection(r.ConnectionName);
+                        var conn = connMgr.GetConnection(ri.ConnectionName);
                         ri.Reset();
                         if (omgr.IsOpen(ri.ResourceId, conn))
                         {



More information about the mapguide-commits mailing list