WebFlux fails with WebDAV HTTP methods #29981
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: regression
A bug that is also a regression
Milestone
Affects: 6.0.3
Hi folks!
I have Spring Cloud Gateway application that consumes HTTP PROPFIND method.
Now I am trying to migrate it from Spring Boot 2 to Spring Boot 3 that in turns upgrading version of spring-webflux from 5.3.22 to 6.0.3
that causes issue:
So looks like issue has been raised inside
org.springframework.web.reactive.result.condition.RequestMethodsRequestCondition#matchRequestMethod
.Previously
org.springframework.http.HttpMethod
was enum and for PROPFIND method argument was null. Now it is a class that can contain any value inside. Therefore it reaches point where it tries to convertorg.springframework.http.HttpMethod
toorg.springframework.web.bind.annotation.RequestMethod
that in turns fails with aforementioned exception.The text was updated successfully, but these errors were encountered: