Dispatcher.findXmlReader does not use "service" to find the proper output format
--------------------------------------------------------------------------------
Key: GEOS-2314
URL: http://jira.codehaus.org/browse/GEOS-2314
Project: GeoServer
Issue Type: New Feature
Components: Global
Affects Versions: 1.7.0-RC4
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 1.7.1
The code (line 914) just uses the service id for a straight one to one comparison, with the result that it's just sorting the readers alphabetically. What it should do instead, is to prefer the readers whose service equals the one specified in the request, no?
Alternatively we could also filter out the readres with the wrong service, but what to do with the ones that do not declare any service? It seems that a sorting taking care of pushing up the readers that do match the service specified in the request would do just fine.
--
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