[Geoserver-devel] [jira] Created: (GEOS-4169) Dispatcher does not leverage ServiceStrategy abort method

Dispatcher does not leverage ServiceStrategy abort method
---------------------------------------------------------

                 Key: GEOS-4169
                 URL: http://jira.codehaus.org/browse/GEOS-4169
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.1-beta1, 2.0.2, 1.7.7
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.1-beta2

ServiceStrategy.abort() method is there to avoid writing out an incomplete response when a service exception happens.
Using strategies such as the buffer or the file strategy in case of exception the partial output should never be returned.
However, that happens only if the dispatcher calls the abort() method in case of exception, which is not happening

Since the strategy is known only inside the response() method I guess we'd need a try/finally there to do the job

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