[fusion-commits] r2062 - trunk/layers/MapGuide/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Feb 8 21:32:01 EST 2010


Author: liuar
Date: 2010-02-08 21:32:00 -0500 (Mon, 08 Feb 2010)
New Revision: 2062

Modified:
   trunk/layers/MapGuide/php/GetSelectionProperties.php
   trunk/layers/MapGuide/php/SaveSelection.php
Log:
Fixed ticket #360 Error Message for SetSelection is unclear.
In fusionError function, only error massage contains text 'Response: ERROR: ' can be processed. So update the 'Respones: SetSelection Exception' to 'Response: ERROR: ' in GetSelectionProperties.php and SaveSelection.php 

Modified: trunk/layers/MapGuide/php/GetSelectionProperties.php
===================================================================
--- trunk/layers/MapGuide/php/GetSelectionProperties.php	2010-02-09 02:14:56 UTC (rev 2061)
+++ trunk/layers/MapGuide/php/GetSelectionProperties.php	2010-02-09 02:32:00 UTC (rev 2062)
@@ -179,7 +179,7 @@
 
 
     } catch(MgException $e) {
-        echo "/* SetSelection Exception: " . $e->GetDetails()."*/";
+        echo "ERROR: " . $e->GetDetails() . "\n";
     }
 
 function GetParameters($params)

Modified: trunk/layers/MapGuide/php/SaveSelection.php
===================================================================
--- trunk/layers/MapGuide/php/SaveSelection.php	2010-02-09 02:14:56 UTC (rev 2061)
+++ trunk/layers/MapGuide/php/SaveSelection.php	2010-02-09 02:32:00 UTC (rev 2062)
@@ -93,7 +93,7 @@
 
 
     } catch(MgException $e) {
-        echo "/* SetSelection Exception: " . $e->GetDetails()."*/";
+        echo "ERROR: " . $e->GetDetails() . "\n";
     }
 
 function GetParameters($params)



More information about the fusion-commits mailing list