DependencyTrack / DependencyTrack/frontend

Schema Validation errors not shown in UI

Open
#1,006 2 comments 0 reactions 0 assignees View on GitHub
defect good first issue hacktoberfest p2 size/S
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### Current Behavior

Upon invalid bom upload an error message is shown as shown

![image](https://github.com/user-attachments/assets/3d1a5a42-d45d-4c37-89a2-97e8fe574538)

### 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

- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/frontend/issues) for whether this defect was already reported

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.