[OpenLayers-Trac] [OpenLayers] #3654: The CQL format does not support wildcard in value (for LIKE operator).

OpenLayers trac-20090302 at openlayers.org
Tue May 8 19:04:05 EDT 2012


#3654: The CQL format does not support wildcard in value (for LIKE operator).
-------------------------+--------------------------------------------------
 Reporter:  scaddenp     |       Owner:  tschaub     
     Type:  bug          |      Status:  new         
 Priority:  critical     |   Milestone:  2.13 Release
Component:  Format.CQL   |     Version:  2.11        
 Keywords:  CQL Parsing  |       State:              
-------------------------+--------------------------------------------------
 An expression like:
 TRANS_NAME LIKE 'OTS%' fails because % is not a valid character.

 It should be noted that this format reader supports only a limited syntax
 compared to what server CQL expressions are supported. (eg
 TRANS_NAME NOT LIKE 'OTS%' or
 TRANS_NAME !NOT LIKE 'OTS%' are valid on the server but not to CQL.js
 which requires NOT TRANS_NAME LIKE 'OTS%'

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3654>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list