[fusion-trac] #94: multi-layer query broken when one of the
layer defines a feature filter
Fusion
trac_fusion at osgeo.org
Tue Aug 5 16:35:00 EDT 2008
#94: multi-layer query broken when one of the layer defines a feature filter
--------------------------+-------------------------------------------------
Reporter: tomfukushima | Owner: madair
Type: defect | Status: new
Priority: P2 | Milestone: 1.1
Component: MapGuide | Version: 1.0.6
Severity: Major | Resolution:
Keywords: | External_id:
State: New | Browser: All
Os: All |
--------------------------+-------------------------------------------------
Comment (by edzimmerman):
I attached a package containing an example map. To reproduce the defect
1) Apply the attached package.
2) In MapGuide Studio, create a fusion web layout referencnig the sample
map contained in the package.
3) Launch the web browser on fusion web layout url.
4) Set layer visibility as follows: airprt020 (OFF); airprt020 filtered
(ON); Sample_World_Countries (ON).
5) Do a window select around some points.
Before the fix, the selection will fail. After the fix, it will succeed.
The problem was that use of the $filter variable in Query.php was being
overloaded to both store the possible incoming sql filter and to store the
possible combined filter of the sql filter and the layer's feature filter.
I fixed this be adding a new $combinedFilter variable to eliminate the
overloaded use of $filter.
--
Ticket URL: <http://trac.osgeo.org/fusion/ticket/94#comment:1>
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