![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
2.3-beta1 |
|
Assignee:
|
Andrea Aime
|
|
Created:
|
07/Feb/13 6:53 AM
|
|
Description:
|
Picked up from the mailing list and further tested.
This URL fails:
localhost:8080/geoserver/wms?request=GetLegendGraphic&format=image/png&width=20&height=20&layer=restricted&transparent=true&format=image/png&legend_options=fontAntiAliasing:true;fofntSize:11;fontName:Arial&SCALE=136494.76705452034
With something like:
<ServiceException code="InvalidFormat">
Invalid graphic format: [Ljava.lang.String;@795d02
</ServiceException>
The URL has &format=image/png in it twice. Both are valid and work on their own.
Two "&layer's" results in a failure too:
- java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String [Ljava.lang.String; cannot be cast to java.lang.String
request, height, width, and transparent are all fine when duplicated, even if the values are different. This probably holds up for other requests/parameter combinations too.
GeoServer should probably ignore any after the first.
|
|
Project:
|
GeoServer
|
|
Priority:
|
Major
|
|
Reporter:
|
Jonathan Moules
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel