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-issuemaster opened this issue Nov 4, 2015 · 5 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

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-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

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-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Nov 4, 2015

Marcus Nylander commented

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

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Nov 4, 2015

Stéphane Nicoll commented

ok and what was the one that worked then?

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Nov 4, 2015

Marcus Nylander commented

4.1.7.RELEASE

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.