[mapserver-commits] r9829 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Sat Feb 20 21:26:13 EST 2010
Author: tomkralidis
Date: 2010-02-20 21:26:12 -0500 (Sat, 20 Feb 2010)
New Revision: 9829
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapquery.c
Log:
add more useful error message when query file extension test fails (#3302)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2010-02-21 02:22:35 UTC (rev 9828)
+++ trunk/mapserver/HISTORY.TXT 2010-02-21 02:26:12 UTC (rev 9829)
@@ -14,6 +14,8 @@
Current Version (SVN trunk):
----------------------------
+- add more useful error message when query file extension test fails (#3302)
+
- s/gml:null/gml:Null for empty WFS GetFeature responses (#3299)
- Support metatiling and buffers in mode=tile (#3323)
Modified: trunk/mapserver/mapquery.c
===================================================================
--- trunk/mapserver/mapquery.c 2010-02-21 02:22:35 UTC (rev 9828)
+++ trunk/mapserver/mapquery.c 2010-02-21 02:26:12 UTC (rev 9829)
@@ -225,7 +225,7 @@
stream = fopen(filename, "r");
if(!stream) {
- msSetError(MS_IOERR, "(%s)", "msLoadQuery()", filename);
+ msSetError(MS_IOERR, "Query file extension check failed on %s (extension must be .qy)", "msLoadQuery()", filename);
return(MS_FAILURE);
}
More information about the mapserver-commits
mailing list