-
Notifications
You must be signed in to change notification settings - Fork 77
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
Account for non-xml submission objects #2663
Conversation
7101072
to
0f93331
Compare
When given a non-xml submission file, catch the exception of the bad submission and only reject the submission of the Validate setting is enabled. Fixes: #2662
0f93331
to
ab9abfd
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.
The code here looks pretty reasonable overall. Can you add a test to ensure that no error is returned with a non-XML file is submitted, as well as a test to ensure that the error message added in this PR is displayed when submission validation is turned on?
Co-authored-by: William Allen <[email protected]>
@williamjallen, to summarize our F2F, The CMake tests "pass" the uploaded non-xml files when the async parsing is used for CDash. This MR has the same functionality when the validation of files is turned off.
Turning the validation on properly rejected the arbitrary file in addition to voicing a few other issues:
I think this submission is again ready for merge. |
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.
Seems reasonable to me. Thanks for fixing this!
When given a non-xml submission file, catch the exception of the bad submission and only reject the submission of the Validate setting is enabled.
Fixes: #2662