[Chameleon-dev] [Bug 463] [Filter expression] Filter espression
returns nothing if WFS filter clear is hit
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Thu Jul 8 17:00:16 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=463
jlacroix at dmsolutions.ca changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From jlacroix at dmsolutions.ca 2004-07-08 17:00 -------
Few! Finally got it! I had a hard time to track it down.
The problem was in LegendTemplate.widget.php. It happens because the
LegendTemplate widget keep a list of all layers comma separated in the hidden
form variable LEGENDTEMPLATE_LAYERS.
The problem was "a list of all layers"...even those deleted by other widgets. So
I added a validation when building this string.
417,418c417,422
< $szLayerNames .= $szSep . $oLayer->name;
< $szSep = ",";
---
> // Don't include layers that will be deleted.
> if( $oLayer->status != MS_DELETE )
> {
> $szLayerNames .= $szSep . $oLayer->name;
> $szSep = ",";
> }
Marking as FIXED.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Chameleon-dev
mailing list