frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Schema Validation errors not shown in UI

Open stephan-wolf-ais opened this issue 5 months ago • 2 comments

Current Behavior

Upon invalid bom upload an error message is shown as shown

image

Steps to Reproduce

  1. 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" ] }

Dependency-Track Frontend Version

4.7.x

Browser

Google Chrome

Browser Version

No response

Operating System

Linux

Checklist

stephan-wolf-ais avatar Sep 17 '24 07:09 stephan-wolf-ais