#219 closed defect (fixed)
enabling FI from TreeGDE does not work
Reported by: | rwoita | Owned by: | nimix |
---|---|---|---|
Priority: | major | Milestone: | 2.5 release |
Component: | treeGDE | Version: | 2.5 rc5 |
Keywords: | Cc: | nimix |
Description
look up following discussion on nabble.com :
http://www.nabble.com/MB-2.5-RC2---treeGDE-featureinfo1---2nd-to16874453.html
Change History (16)
comment:1 by , 16 years ago
Version: | → 2.5 rc2 |
---|
comment:2 by , 16 years ago
Cc: | added |
---|---|
Component: | user interface → treeGDE |
Just going through the code (realizing there have been profound changes ;-)) i found, that when changing only the querylayer status of a layer, mb_restateLayers is not called, thus the querylayers array is not updated. Adding a call the handleSelection as when changing visibility does the trick, but i'm not sure if this is correct or the intended usage of this function.
btw. also changed the component to treeGDE
comment:3 by , 16 years ago
apparently a function handleLayer of the WMS object is called...however, this function does nothing. The obscure code makes it impossible to debug.
comment:4 by , 16 years ago
I did some investigation today and the problem seems to be that the call of mb_restateLayers is missing. If you change the FI-Checkboxes and change the visibility of a layer afterwards the FI-Selection works
comment:5 by , 16 years ago
unfortunately I don't have my test evironement now, but as far as I can see the treefolder2.php from nimix_dev branch does it the right way.
comment:6 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
fixed in 2.5 branch and trunk
comment:7 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:8 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Version: | 2.5 rc2 → 2.5 rc5 |
there still seems to be a problem left: when enabling a complete wms with the switchwms-checkbox, the query checkboxes of the layers are checked, but the layers are not added to querylayers: click with FI-tool on the map raises a JS-popup "Please select a layer!".
comment:9 by , 16 years ago
Priority: | major → blocker |
---|
comment:10 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:11 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
now layers that are non queryable are added to the request....
comment:12 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
comment:13 by , 16 years ago
Milestone: | 2.5 release → 3.0 release |
---|---|
Owner: | changed from | to
Priority: | blocker → major |
this code is really bad.
we definitely need to replace this module by another one
comment:14 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
another try to really fix it http://trac.osgeo.org/mapbender/changeset/2902
comment:16 by , 16 years ago
Milestone: | 3.0 release → 2.5 release |
---|
setting the version to 2.5rc2