[fusion-trac] #650: In Fusion Query Widget, fields with Spaces and Brackets give FDO Filter Errors
Fusion
trac_fusion at osgeo.org
Fri Jul 22 09:24:38 PDT 2016
#650: In Fusion Query Widget, fields with Spaces and Brackets give FDO Filter
Errors
-----------------------------+-------------------------
Reporter: gluckett | Owner: madair
Type: defect | Status: new
Priority: P2 | Milestone: Future
Component: Widgets | Version: 2.0.0-RC1
Severity: Major | Keywords:
Browser: All | External ID:
Operating System: All | state: New
-----------------------------+-------------------------
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: <http://trac.osgeo.org/fusion/ticket/650>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.
More information about the fusion-trac
mailing list