Skip to content

Downloading BOM cause graph deletion #2494

Closed

Description

@FabioRighe

Current Behavior

I have a environment deployed in a Docker Swarm, using 4.7.1 versions of both api and front end.
After downloading BOM of any project for a specific version and reloading page, the dependency graph is no longer visible.

Before:
image

After:
image

Steps to Reproduce

  1. Navigate to Projects Tab
  2. Click on any project
  3. Navigate to Components Tab
  4. Click on "Download BOM" -> Inventory
  5. Reload page dependency graph
  6. Dependency graph now results empty

Expected Behavior

Expected no changes in dependency graph

Dependency-Track Version

4.7.1

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

No response

Browser

Google Chrome

Checklist

Activity

  1. added
    defect
    on Feb 15, 2023
  2. Recurse-blip commented on Mar 2, 2023

    @Recurse-blip

    Experiencing the same issue here. I recently upgraded from 4.6.3 to 4.7.1. After downloading the BOM, the dependency graph is no longer available.

  3. msymons commented on Mar 6, 2023

    @msymons
    Member

    One question for both @FabioRighe and @Recurse-blip... What CycloneDX schema version is your BOM?

    I am running DT v4.7.1 and v4.8.0 SNAPSHOT and have a couple of Maven projects still using Schema 1.2 and which do NOT display graphs. I cannot go back and see now whether the graphs worked in (say) DT 4.6... but Schema 1.2 did support dependency graphs and I can see them in the BOMs.

  4. FabioRighe commented on Mar 7, 2023

    @FabioRighe
    Author

    I generate my BOM using v2.7.4 of https://github.com/CycloneDX/cyclonedx-maven-plugin. It generates BOM with CycloneDX v1.4, the last version. @msymons with v4.7.1 of dtrack, are you still able to view dependency graphs after downloading a project BOM from the tool UI?

  5. Recurse-blip commented on Mar 9, 2023

    @Recurse-blip

    Bom format is CycloneDX 1.4
    We use this action https://github.com/CycloneDX/gh-dotnet-generate-sbom on a .NET 6 project.
    We have around 366 components as per dependency-track.

    Before downloading :
    image

    After downloading the SBOM :
    image

    SBOM sample :
    image

  6. msymons commented on Mar 10, 2023

    @msymons
    Member

    Apologies for the delay in responding. I have reproduced the defect. It is very easy to do so.

    I also uploaded a BOM to a project after the dependency-graph vanished... the fresh upload restores the graph.

  7. added
    p2
    p1
    and removed
    p2
    on Mar 10, 2023
  8. self-assigned this
    on Mar 11, 2023
  9. added this to the 4.8 milestone on Mar 21, 2023
  10. added a commit that references this issue on Mar 22, 2023
    946ff0f
  11. added a commit that references this issue on Mar 24, 2023
    b7d98df
  12. added 2 commits that reference this issue on Apr 6, 2023
    c4e2474
    1802a8c
  13. github-actions commented on Apr 22, 2023

    @github-actions
    Contributor

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  14. locked as resolved and limited conversation to collaborators on Apr 22, 2023
  15. added a commit that references this issue on Jun 17, 2026
    ca0af9e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

defectp1

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions