You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon invalid bom upload an error message is shown as shown
Steps to Reproduce
upload an invalid bom
Expected Behavior
the error message from the result should be shown as well
i.e. errors from the result json like this:
{
"status": 400,
"title": "The uploaded BOM is invalid",
"detail": "Schema validation failed",
"errors": [
"$.metadata.timestamp: does not match the date-time pattern must be a valid RFC 3339 date-time"
]
}
This is somewhat on purpose, because the screen real estate of the popups is very small, but validation failure messages are long. Also, large BOMs with many i valid entries amplify this issue.
I guess the main challenge is to find another way to display all validation errors, in a way that is not purely limited by screen space.
An idea could be an upload dialog including i.e. a progress bar for the upload process and a textbox to show the result of the upload request. This would also be helpfull for large bom files
Activity
nscuro commentedon Sep 17, 2024
This is somewhat on purpose, because the screen real estate of the popups is very small, but validation failure messages are long. Also, large BOMs with many i valid entries amplify this issue.
I guess the main challenge is to find another way to display all validation errors, in a way that is not purely limited by screen space.
stephan-wolf-ais commentedon Sep 17, 2024
An idea could be an upload dialog including i.e. a progress bar for the upload process and a textbox to show the result of the upload request. This would also be helpfull for large bom files