Ticket #167 (new defect)
Legend does not refresh correctly, when using the summary parameter
|Reported by:||ksgeograf||Owned by:||cmy|
|Severity:||major||Keywords:||legend summary refresh|
To reproduce, create a new datasource + layer + map + weblayout. On the map, set the layer "Display in legend" to false.
The layer never shows in the legend. Zoom (eg. change scale) does not make the layer appear. This happens with both DWF viewer and AJAX viewer. The layer contents appear, and as of 1.2, the tooltips appear, and the "Selectability" works correct.
When modifying the legendctrl.templ, line 16, removing the "&SUMMARY=" string, the AJAX viewer now correctly refreshes the legend, obeying the "SetDisplayInLegend?". However the legend label is not displayed. Setting the legend label using the API, makes the label appear.
I cannot modify the call from the DWF, to test the DWF behavior.
I believe that the server has a defect, when it constructs the legend update summary. There is also a defect, when creating the runtime map, as layers that are not displayed in the legend does not get their label transfered.