Olle Markljung created an issue |
GetMapXmlReader allways uses default style for layergroup layers |
Issue Type: |
Bug |
---|---|
Affects Versions: |
2.5-RC1 |
Assignee: |
|
Attachments: |
layergroup-wrong-style.xml, tiger-giant_polygon_tiger-poly_landmarks_tiger-tiger_roads_tiger-poi.png, tiger-ny.png |
Created: |
27/Feb/14 4:11 PM |
Labels: |
WMS |
Priority: |
Minor |
Reporter: |
When making a GetMap POST request with XML body and having a layergroup as a NamedLayer the GetMapXmlReader take the default style for the layers in the layer group and not the configured one. I modified the example data for the layer group tiger-ny so that the poi-layer uses the default point style instead of the default poi style. For POST the resolve of parameters gives me For GET it resolves correctly to For GET I can see that the merge is done in GetMapKvpRequestReader:L337-245. For POST the merge seems to be done (or should be done) in GetMapXmlRequestReader.addStyles. URL for GET: XML for POST is attached as layergroup-wrong-style.xml. I’m new to the GeoServer code but with some pointers I might be able to produce a patch. |
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c) |