Ticket #219 (closed defect: fixed)

Opened 1 year ago

Last modified 5 months ago

enabling FI from TreeGDE does not work

Reported by: rwoita Assigned to: 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

05/20/08 10:51:05 changed by mschulz

  • version set to 2.5 rc2.

setting the version to 2.5rc2

05/20/08 11:08:54 changed by mschulz

  • cc set to nimix.
  • component changed from user interface to 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

06/13/08 10:06:01 changed by christoph

apparently a function handleLayer of the WMS object is called...however, this function does nothing. The obscure code makes it impossible to debug.

06/19/08 08:58:29 changed by nimix

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

06/19/08 09:05:53 changed by nimix

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.

07/06/08 14:46:51 changed by nimix

  • owner changed from mapbender_dev@lists.osgeo.org to nimix.
  • status changed from new to assigned.

fixed in 2.5 branch and trunk

07/06/08 14:46:59 changed by nimix

  • status changed from assigned to closed.
  • resolution set to fixed.

07/21/08 10:29:34 changed by mschulz

  • status changed from closed to reopened.
  • version changed from 2.5 rc2 to 2.5 rc5.
  • resolution deleted.

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!".

07/28/08 05:24:43 changed by christoph

  • priority changed from major to blocker.

08/11/08 09:50:26 changed by christoph

  • status changed from reopened to closed.
  • resolution set to fixed.

08/11/08 11:30:55 changed by christoph

  • status changed from closed to reopened.
  • resolution deleted.

now layers that are non queryable are added to the request....

08/11/08 11:30:59 changed by christoph

  • owner changed from nimix to christoph.
  • status changed from reopened to new.

08/12/08 05:23:33 changed by christoph

  • owner changed from christoph to nimix.
  • priority changed from blocker to major.
  • milestone changed from 2.5 release to 3.0 release.

this code is really bad.

we definitely need to replace this module by another one

09/01/08 09:58:08 changed by nimix

  • status changed from new to closed.
  • resolution set to fixed.

another try to really fix it http://trac.osgeo.org/mapbender/changeset/2902

09/03/08 16:30:51 changed by mschulz

Thx, Nimix. Tests with these changes were successfull.

02/12/09 06:50:35 changed by christoph

  • milestone changed from 3.0 release to 2.5 release.