[Geoserver-devel] [jira] Created: (GEOS-3855) GWC integration breaks with KML superoverlays

GWC integration breaks with KML superoverlays
---------------------------------------------

                 Key: GEOS-3855
                 URL: http://jira.codehaus.org/browse/GEOS-3855
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
            Reporter: Andrea Aime
            Assignee: Arne Kepp
             Fix For: 2.0.2

The GWC integration breaks in a few places:
- the KML request should contain "&format_options=regionateBy=auto" instead of "&format_options=mode:superoverlay;overlaymode:auto"
- the fake http response cannot handle the dispatcher setting the 204 return value for empty tiles

The patch I'm about to attach works around the first issue by direct manipulation of the request params, and fixes the http response.
I mimicked the code in GWC WMSHttpHelper so that a byte[0] gets returned in response to a 204 and so that it sets the response code, this way GWC knows it has to stop.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira