[mapserver-commits] r10556 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Sep 30 13:14:14 EDT 2010


Author: aboudreault
Date: 2010-09-30 17:14:14 +0000 (Thu, 30 Sep 2010)
New Revision: 10556

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapogcsos.c
   trunk/mapserver/mapwcs.c
   trunk/mapserver/mapwfs.c
   trunk/mapserver/mapwms.c
Log:
Fixed ability to get the error message and code of an OWS exception (#3554)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2010-09-30 16:13:03 UTC (rev 10555)
+++ trunk/mapserver/HISTORY.TXT	2010-09-30 17:14:14 UTC (rev 10556)
@@ -14,6 +14,8 @@
 Current Version (SVN trunk):
 ----------------------------
 
+- Fixed ability to get the error message and code of an OWS exception (#3554)
+
 - Fixed msOGRGetSymbolId according to the changes in gdal 1.8 (#3556)
 
 - Support holding WMS client requests in RAM instead of writing to disk (#3555)

Modified: trunk/mapserver/mapogcsos.c
===================================================================
--- trunk/mapserver/mapogcsos.c	2010-09-30 16:13:03 UTC (rev 10555)
+++ trunk/mapserver/mapogcsos.c	2010-09-30 17:14:14 UTC (rev 10556)
@@ -117,9 +117,6 @@
   xmlFree(buffer);
   xmlFreeDoc(psDoc);
 
-  /* clear error since we have already reported it */
-  msResetErrorList();
-
   return MS_FAILURE;
 }
 

Modified: trunk/mapserver/mapwcs.c
===================================================================
--- trunk/mapserver/mapwcs.c	2010-09-30 16:13:03 UTC (rev 10555)
+++ trunk/mapserver/mapwcs.c	2010-09-30 17:14:14 UTC (rev 10556)
@@ -164,9 +164,6 @@
   msIO_printf("  </ServiceException>\n");
   msIO_printf("</ServiceExceptionReport>\n");
 
-  /* clear error since we have already reported it */
-  msResetErrorList();
-
   return MS_FAILURE;
 }
 

Modified: trunk/mapserver/mapwfs.c
===================================================================
--- trunk/mapserver/mapwfs.c	2010-09-30 16:13:03 UTC (rev 10555)
+++ trunk/mapserver/mapwfs.c	2010-09-30 17:14:14 UTC (rev 10556)
@@ -86,9 +86,6 @@
     msIO_printf("  </ServiceException>\n");
     msIO_printf("</ServiceExceptionReport>\n");
 
-    /* clear error since we have already reported it */
-    msResetErrorList();
-
     return MS_FAILURE; /* so we can call 'return msWFSException();' anywhere */
 }
 

Modified: trunk/mapserver/mapwms.c
===================================================================
--- trunk/mapserver/mapwms.c	2010-09-30 16:13:03 UTC (rev 10555)
+++ trunk/mapserver/mapwms.c	2010-09-30 17:14:14 UTC (rev 10556)
@@ -208,9 +208,6 @@
 
   }
 
-  /* clear error since we have already reported it */
-  msResetErrorList();
-
   return MS_FAILURE; /* so that we can call 'return msWMSException();' anywhere */
 }
 



More information about the mapserver-commits mailing list