-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
Konstantin Titorenko opened SPR-4127 and commented
After switch from RC1 to RC2 multiform controller is not working, since AnnotationMethodHandlerAdapter.HandlerMethodResolver is not checkin the params value. See the following source:
private boolean checkParameters(HttpServletRequest request, RequestMappingInfo mapping) {
if (mapping.methods.length > 0) {
for (RequestMethod type : mapping.methods) {
if (type.toString().equals(request.getMethod().toUpperCase())) {
return true;
}
}
return false;
}
.... checking params...
}
obviously "return true" statement should not be executed here. The source code in rc1 looks correct.
Affects: 2.5 RC2
Issue Links:
- @RequestMapping doesn't honor params attribute [SPR-4126] #8805
@RequestMapping
doesn't honor params attribute ("is duplicated by")
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug