[mapserver-users] BUG (??) in CGI variable substitution. COLOR change occurs up too high in the hierarchy of Mapfile

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Mon Dec 15 14:53:48 PST 2014


New issue added.

Bobb



From: Lime, Steve D (MNIT)
Sent: Monday, December 15, 2014 4:09 PM
To: Basques, Bob (CI-StPaul)
Cc: mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] BUG (??) in CGI variable substitution. COLOR change occurs up too high in the hierarchy of Mapfile

Looking at the code it's definitely a bug. The configuration updater doesn't take into account styles within a label so it applies the snippet you send to the label object. If your snippet contained reference to an attribute a  label doesn't support then you'd get a parsing error. Because 'color' is supported by both it happily changes the wrong color. Can you file a ticket?

Steve


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20141215/4ba5d5dd/attachment.html>


More information about the mapserver-users mailing list