-
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
Michael Wirth opened SPR-16972 and commented
The copy constructor WebHttpHandlerBuilder(WebHttpHandlerBuilder other) does not clone the applicationcontext.
I guess the constructor was not updated when the applicationcontext was added.
As result my tests fail because of the missing applicationcontext. I try to call an Acutator endpoint to test the security configuration, but this test fails because the EndpointRequestMatcher requires the applicationcontext.
Affects: 5.0.7
Issue Links:
- Testing actuator endpoint authorization with webclient throws exception [SPR-17059] #21597 Testing actuator endpoint authorization with webclient throws exception ("is duplicated by")
- Provide access to ApplicationContext via ServerWebExchange [SPR-16298] #20845 Provide access to ApplicationContext via ServerWebExchange
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