[Mapguide-trac] [mapguide-trac] #2556: Escaping single quote character for built-in search command

MapGuide Open Source trac_mapguide at osgeo.org
Wed Apr 15 02:48:36 PDT 2015


#2556: Escaping single quote character for built-in search command
---------------------------+------------------------------------------------
   Reporter:  tuceda       |       Owner:                                  
       Type:  defect       |      Status:  new                             
   Priority:  low          |   Milestone:  3.1                             
  Component:  AJAX Viewer  |     Version:  3.0.0                           
   Severity:  minor        |    Keywords:  ajax, quote, escape, fdo, filter
External_id:               |  
---------------------------+------------------------------------------------
 When user enter single quote in search texte field provided by search
 built-in command,an FDO exception occured:

 An exception occurred in FDO component. Error occurred in Feature Source
 (XXX): String does not represent a valid filter. (Cause: String
 incorrectly formatted. , Root Cause: String incorrectly formatted. )

 The single quote needs to be escaped.

 See the attached file for the proposed solution.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2556>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list