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

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to