[Mapbender-commits] r6998 - in trunk/mapbender/http: classes php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Oct 1 10:47:17 EDT 2010


Author: christoph
Date: 2010-10-01 14:47:17 +0000 (Fri, 01 Oct 2010)
New Revision: 6998

Modified:
   trunk/mapbender/http/classes/class_wmcToXml.php
   trunk/mapbender/http/classes/class_wms.php
   trunk/mapbender/http/php/mod_loadwmc_server.php
Log:
exceptions for debugging

Modified: trunk/mapbender/http/classes/class_wmcToXml.php
===================================================================
--- trunk/mapbender/http/classes/class_wmcToXml.php	2010-10-01 14:11:14 UTC (rev 6997)
+++ trunk/mapbender/http/classes/class_wmcToXml.php	2010-10-01 14:47:17 UTC (rev 6998)
@@ -238,6 +238,9 @@
 
 		// Extension data				
 		if (count($extensionData) > 0) {
+			new mb_exception(":::::::::::::::::::::::::::::::::::::");
+			new mb_exception(serialize($extensionData));
+			new mb_exception(".....................................");
 			$e_extensionGeneral = $this->doc->createElement("Extension");
 			
 			foreach ($extensionData as $keyExtensionData => $valueExtensionData) {

Modified: trunk/mapbender/http/classes/class_wms.php
===================================================================
--- trunk/mapbender/http/classes/class_wms.php	2010-10-01 14:11:14 UTC (rev 6997)
+++ trunk/mapbender/http/classes/class_wms.php	2010-10-01 14:47:17 UTC (rev 6998)
@@ -1163,9 +1163,6 @@
 				array_push($newLayer->layer_epsg, $currentLayerEpsg);
 			}
 		}
-		new mb_exception("................................");
-		new mb_exception(serialize($newLayer->layer_epsg));
-		new mb_exception("::::::::::::::::::::::::::::::::");
 		for ($i = 0; $i < count($currentLayer["epsg"]); $i++) {
 			if (!in_array($currentLayer["epsg"][$i], $tmpEpsgArray)) {
 				$newLayer->layer_epsg[]= array(

Modified: trunk/mapbender/http/php/mod_loadwmc_server.php
===================================================================
--- trunk/mapbender/http/php/mod_loadwmc_server.php	2010-10-01 14:11:14 UTC (rev 6997)
+++ trunk/mapbender/http/php/mod_loadwmc_server.php	2010-10-01 14:47:17 UTC (rev 6998)
@@ -57,7 +57,7 @@
 		$wmcId = $ajaxResponse->getParameter("id");
 		if ($wmc->createFromDb($wmcId)) {
 			new mb_exception("-------------------------------");
-			new mb_exception(serialize($wmc));
+			new mb_exception(serialize($wmc->mainMap->getWmsArray()));
 			new mb_exception("===============================");
 			$updatedWMC = $wmc->updateUrlsFromDb();
 	        $wmc->createFromXml($updatedWMC);



More information about the Mapbender_commits mailing list