-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)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
Bjorn Harvold opened SPR-6741 and commented
This RequestMapping doesn't work:
@RequestMapping(value = "/administration/user/{id}/account/{accountId}/transfer/{accounttransferId}", method = RequestMethod.GET)This RequestMapping works:
@RequestMapping(value = "/administration/account/{accountId}/transfer/{accounttransferId}", method = RequestMethod.GET)During startup, in both cases, Spring says that the above urls have been matched to a Class. There is only one method in the class to make sure nothing is being overridden. It seems this happens the moment I have more than 2 PathVariables defined.
Affects: 4.0.1
Issue Links:
- Calling a @RequestMapping annotated method with a URI template with three variables does not work [SPR-7896] #12552 Calling a
@RequestMappingannotated method with a URI template with three variables does not work ("is duplicated by") - Cannot handle more than two @PathVariable with the route ends with ".png" [SPR-11550] #16175 Cannot handle more than two
@PathVariablewith the route ends with ".png" ("is duplicated by") - Determination of the best pattern match to map a handler to an URL [SPR-7589] #12245 Determination of the best pattern match to map a handler to an URL ("is duplicated by")
- AntPathMatcher.AntPatternComparator algorithm wrong for hierarchical matches [SPR-8683] #13325 AntPathMatcher.AntPatternComparator algorithm wrong for hierarchical matches
- RequestMapping path priority problem [SPR-11616] #16239 RequestMapping path priority problem
Referenced from: commits d746e3f, ce0473f, f829cd1
3 votes, 6 watchers
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug