Skip to content

VersionResourceResolver does not delegate path resolution to the chain [SPR-15372] #19936

@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-15372 and commented

It's easy to reproduce. Take the petclinic. Observe that webjars paths have versions in them in the UI

Then set

spring.resources.chain.strategy.content.enabled=true
spring.resources.chain.strategy.content.paths=/resources/**

and observe that the local resources get versions, but the webjars lose theirs.

It seems like a logic error in the ResourceResolverChain. There is a webjar resource resolver there, but it never gets a chance to vote on the path.


No further details from SPR-15372

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