specifying an empty CQL_FILTER parameter generates an error
-----------------------------------------------------------
Key: GEOS-4111
URL: http://jira.codehaus.org/browse/GEOS-4111
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 2.0.2, 2.0.1, 2.0.0
Environment: Ubuntu 10.04 LTS, Sun Java 6.20, Jetty
Reporter: BartV
Assignee: Andrea Aime
Priority: Minor
Example request:
Will generate this error:
"Could not parse CQL filter list. Encountered "<EOF>" at line 0, column 0..."
Note the emtpy CQL_FILTER parameter at the end.
If you leave the parameter out, everything is fine.
The problem occurs when you want to use GeoWebCache with a regexParameterFilter on the CQL_FILTER and one queries a layer without a CQL_FILTER. Example "geowebcache.xml" file:
<wmsLayer>
<name>worldcountries_gwc</name>
<wmsUrl><string>http://localhost:8080/geoserver/wms</string></wmsUrl>
<wmsLayers>World:worldcountries</wmsLayers>
<parameterFilters>
<regexParameterFilter>
<key>CQL_FILTER</key>
<defaultValue></defaultValue>
<regex>^(.+)$</regex>
</regexParameterFilter>
</parameterFilters>
</wmsLayer>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira