-
Notifications
You must be signed in to change notification settings - Fork 305
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
PAYARA-2111 Fixed warning in logs from mismatched error page #2037
PAYARA-2111 Fixed warning in logs from mismatched error page #2037
Conversation
jenkins test please |
Quick build and test passed! |
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.
Please add the Portions copyright comment...
Jenkins test please |
Quick build and test passed! |
2 extra things to look at: The pattern is now compared via "glob", but the Servlet patterns are a bit different, namely: In the Web application deployment descriptor, the following syntax is used to define mappings:
Internally there should be a specific matcher for this available, as Payara used this too internally to dispatch. From a spec point of view, Another thing that I'm missing is the check on the filter to see if the filter filters the error dispatch. Only those filters should be taken into account for the URL match. Otherwise, looks good! |
…ub.com:michaelranaldo/payara into PAYARA-2111-Warning-in-logs-with-an-error-page
Discussed this internally and |
b7e677a
to
5174e19
Compare
jenkins test please |
Quick build and test passed! |
jenkins test please |
Quick build and test passed! |
Change request addressed here: 1310659
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.
Looks good, thx!
Tested with example application and custom application, behaviour remains the same, just without the error page. If a file is provided and configured within Wicket, but cannot be found, then Wicket will throw the error - if a file is correct but incorrectly configured then Payara's behaviour remains the same.
Thanks for @arjantijms and @MattGill98 for the help!
Fixes #1886