Skip to content

WebMvcConfigurationSupport.beanNameHandlerMapping does not set PathPatternParser #26414

@philwebb

Description

@philwebb

WebMvcConfigurationSupport.beanNameHandlerMapping creates a BeanNameUrlHandlerMapping instance but does not call setPatternParser.

Other mappings in the class have the following code:

PathPatternParser patternParser = getPathMatchConfigurer().getPatternParser();
if (patternParser != null) {
    mapping.setPatternParser(patternParser);
}

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions