Dispathcer findKvpRequestReader wrong type check
------------------------------------------------
Key: GEOS-4394
URL: http://jira.codehaus.org/browse/GEOS-4394
Project: GeoServer
Issue Type: Bug
Reporter: Alessio Fabiani
Assignee: Alessio Fabiani
Fix For: 2.2.x
ISSUE:
Dispatcher findKvpRequestReader states
if (kvpReader.getRequestBean().isAssignableFrom(type)) {
matches.add(kvpReader);
}
which should be reversed instead otherwise won't be possible to create other kind of requests other than the ones on core.
SOLUTION:
if (type.isAssignableFrom(kvpReader.getRequestBean())) {
matches.add(kvpReader);
}
--
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