[Mapguide-trac] [mapguide-trac] #2731: In Fusion Query Widget, fields with Spaces and Brackets give FDO Filter Errors
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Jul 20 12:43:09 PDT 2016
#2731: In Fusion Query Widget, fields with Spaces and Brackets give FDO Filter
Errors
------------------------+-------------------
Reporter: gluckett | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: General | Version: 3.0.0
Severity: trivial | Keywords: query
External ID: |
------------------------+-------------------
The Query widget fails in the underlying columns with unsupported
characters such as brackets or spaces are found.
Solution, add Quotes around field name in Filter.
Main Size (m) > 50
becomes
"Main Size (m)" > 50
Change \www\fusion\widgets\Query\classes\query.php
Around line: 261
from
{{{
$propertyFilter = $this->args['PROPERTYNAME'];
}}}
to
{{{
$propertyFilter = '"' . $this->args['PROPERTYNAME'] . '"';
}}}
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2731>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list