[Geoserver-devel] [jira] Created: (GEOS-3045) format_options parameter appears to be static (can be clobbered across requests)

format_options parameter appears to be static (can be clobbered across requests)
--------------------------------------------------------------------------------

                 Key: GEOS-3045
                 URL: http://jira.codehaus.org/browse/GEOS-3045
             Project: GeoServer
          Issue Type: Bug
          Components: Global
    Affects Versions: 1.7.3
         Environment: GeoServer 1.7.3 (war edition); Tomcat 5.5.27; Java 1.5.0; WinXP
            Reporter: Mark Leslie
            Assignee: Andrea Aime

I've written a custom output format that uses the format_options parameter in the url to define attributes to aggregate features on: eg. format_options:aggregates=theme_id

The values passed into format_options persist between requests, ie. if aggregates isn't set again the last value will be used. Setting format_options only overwrite the options set, ie. setting format_options:colour=fish will set colour equal to fish, but will not change the value of aggregates.

This also causes problems in concurrent requests, as the values can be clobbered before being processed.

--
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