-
Notifications
You must be signed in to change notification settings - Fork 34
Combine Themyleaf error pages #1122
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
Combine Themyleaf error pages #1122
Conversation
245ee16
to
627b667
Compare
I have an IntelliJ inspect error on the error/status-code.html - duplicate id. I verified for 404. |
627b667
to
7b39ef8
Compare
Generated by 🚫 Danger |
src/main/java/ru/mystamps/web/feature/site/ErrorController.java
Outdated
Show resolved
Hide resolved
Testing for 403 is easy, for example: mystamps/src/test/robotframework/category/access.robot Lines 10 to 13 in 2b7bd1b
Reproducing 500 isn't easy but we have a bug #986 that causes an exception, so you might use it :) In order to reproduce it you should login as a user, open the same series in 2 tabs and add it it collection from the first tab and then try to add it again from the second tab. |
7b39ef8
to
bcba306
Compare
src/main/java/ru/mystamps/web/support/spring/boot/ErrorPagesCustomizer.java
Outdated
Show resolved
Hide resolved
66a0e49
to
a995e1e
Compare
a995e1e
to
9f6d6cd
Compare
9f6d6cd
to
e0083de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments and also, please, amend the commit title and modify the first line:
refactor: combine Thymeleaf error pages into one.
e0083de
to
27d3658
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!
Fix #1119