Ticket #766 (new defect)
[layers] and [layers_esc] tags do not receive all active layers
|Reported by:||stevem@…||Owned by:||sdlime|
When there are two active layers, the MapServer CGI does not replace the [layers] tag with the space-separated list of all active layers as it should. A similar problem holds true for the [layers_esc] tag. Example: Suppose one invokes the MapServer CGI with this URL in a web browser: http://localhost/cgi-bin/mapserv?map=/home/steve/mymap.map&layers=lots+poles so that there are two layers activated: 'lots' and 'poles'. The resulting web page contains a map with both of those layers visible, but when the source of the resulting web page is examined, it turns out that the [layers] tag has only received "poles" and not "lots poles". Thus, when the page is resubmitted via an HTML form, only the 'poles' layer is drawn. This is a problem that did not exist in MapServer version 4.0.
Note: See TracTickets for help on using tickets.