DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.44k stars 530 forks source link

Fix `JDODataStoreException` for unresolved licenses during BOM upload processing #3801

Closed nscuro closed 1 month ago

nscuro commented 1 month ago

Description

Fixes JDODataStoreException for unresolved licenses during BOM upload processing.

Addressed Issue

Fixes #3798

Additional Details

This change does not need to be ported to master / 4.12, since the defect only affects the legacy BomUploadProcessingTask, which has been removed via #3722.

Checklist

codacy-production[bot] commented 1 month ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for eed4929056014063872a59a083c4f156e21ae1aa[^1] :white_check_mark: 100.00% (target: 70.00%)
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (eed4929056014063872a59a083c4f156e21ae1aa) | Report Missing | Report Missing | Report Missing | | | Head commit (a56daba1fadb8ae6b1e4c2bd7c57b72fefeab8cd) | 22074 | 16791 | 76.07% | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#3801) | 2 | 2 | **100.00%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences

Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more [^1]: Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.