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

Deceptive error message in Spring Test ModelResultMatchers [SPR-15487] #20047

spring-projects-issues opened this issue Apr 26, 2017 · 1 comment
in: test type: bug


Copy link

@spring-projects-issues spring-projects-issues commented Apr 26, 2017

Danny Trunk opened SPR-15487 and commented

The error message "No errors for attribute [...]" in attributeHasNoErrors is deceptive. The error message is displayed if the attribute actually has errors. It should be "Errors for attribute [...]" and maybe a list of the errors would be helpful.

Affects: 4.3.8

Reference URL:

Issue Links:

  • #20048 Allow for HttpOnly cookie result matcher
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 26, 2017

Juergen Hoeller commented

Good catch! Fixed in master now; I'll backport it to 4.3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: test type: bug
None yet

No branches or pull requests

2 participants