-
Notifications
You must be signed in to change notification settings - Fork 31
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
Databinding exception for ValidationError$ErrorDetails #1345
Comments
It looks like entries in the db can have up to 7 different keys for the
Does Horreum need to strongly type the error or is Map<String,JsonObject> suficient? (like we do for LabelValueMap)? |
@willr3 iirc the validation errors should have the following type: https://github.com/Hyperfoil/Horreum/blob/master/horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/data/ValidationError.java#L11 |
The Error object should be of the following type: https://github.com/Hyperfoil/Horreum/blob/master/horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/data/ValidationError.java#L31 |
The entries in the DB have fields that are not in the ErrorDetails but the fields were in previous versions of ErrorDetails. |
Describe the bug
ValidationError$ErrorDetails does not match some of the entries in the database. This prevents the Test Datasets view from loading and presents an exception to the user.
To Reproduce
Build horreum from master with a production db backup and navigate to
run/dataset/list/262
Version
What is the version of Horreum ?
master
Error message
The text was updated successfully, but these errors were encountered: