Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting StandaloneMockMvcBuilder.useSuffixPatternMatch = false does not work [SPR-13637] #18214

Closed
spring-projects-issues opened this issue Nov 4, 2015 · 5 comments
Assignees
Labels
in: test Issues in the test module in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Nov 4, 2015

Marcus Nylander opened SPR-13637 and commented

Setting StandaloneMockMvcBuilder.useSuffixPatternMatch to false does not work with the 4.2.2 release. It worked in 4.1.7, but after an upgrade yesterday it stopped working.


Affects: 4.2.2

1 votes, 5 watchers

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Nov 4, 2015

Stéphane Nicoll commented

4.2.3 is not even released. Did you mean it works with 4.2.2 but not master?

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Nov 4, 2015

Marcus Nylander commented

Sorry my mistake: 4.2.2.RELEASE is the one I've upgraded to.

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Nov 4, 2015

Stéphane Nicoll commented

ok and what was the one that worked then?

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Nov 4, 2015

Marcus Nylander commented

4.1.7.RELEASE

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Nov 4, 2015

tom rauk commented

This is also true for removeSemicolonContent.

Changes were made to RequestMappingHandlerMapping with the 4.2.X Spring Mvc release to set values on 'config' with afterPropertiesSet() method. This is not called in the StandaloneMockBuilder code, so the configuration is not being used when constructing the RequestMappingInfo.

@spring-projects-issues spring-projects-issues added type: bug A general bug in: test Issues in the test module in: web Issues in web modules (web, webmvc, webflux, websocket) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.2.3 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants