[mapguide-commits] r5602 - in sandbox/maestro-3.0: Maestro.Base/Editor Maestro.Editors/FeatureSource/Providers/SQLite

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Mar 7 04:24:36 EST 2011


Author: jng
Date: 2011-03-07 01:24:36 -0800 (Mon, 07 Mar 2011)
New Revision: 5602

Modified:
   sandbox/maestro-3.0/Maestro.Base/Editor/ResourcePreviewEngine.cs
   sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Providers/SQLite/SQLiteFileCtrl.cs
Log:
Fix bad feature source preview URL and improper initialization of SQLite feature source editor

Modified: sandbox/maestro-3.0/Maestro.Base/Editor/ResourcePreviewEngine.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Editor/ResourcePreviewEngine.cs	2011-03-06 11:20:43 UTC (rev 5601)
+++ sandbox/maestro-3.0/Maestro.Base/Editor/ResourcePreviewEngine.cs	2011-03-07 09:24:36 UTC (rev 5602)
@@ -52,7 +52,7 @@
 
             var resId = res.ResourceID;
             var sessionId = _edSvc.SessionID;
-            url += "schemareport/describeschema.php?viewer=basic&resId=" + resId + "&sessionId=" + sessionId;
+            url += "schemareport/describeschema.php?viewer=basic&schemaName=&className=&resId=" + resId + "&sessionId=" + sessionId;
 
             return url;
         }

Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Providers/SQLite/SQLiteFileCtrl.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Providers/SQLite/SQLiteFileCtrl.cs	2011-03-06 11:20:43 UTC (rev 5601)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Providers/SQLite/SQLiteFileCtrl.cs	2011-03-07 09:24:36 UTC (rev 5602)
@@ -64,7 +64,7 @@
                     var df = _fs.GetEmbeddedDataName();
                     resDataCtrl.MarkedFile = df;
                 }
-                else if (_fs.UsesAliasedDataFiles)
+                else //if (_fs.UsesAliasedDataFiles)
                 {
                     rdUnmanaged.Checked = true;
                     txtAlias.Text = file;



More information about the mapguide-commits mailing list