Skip to content

Deactivate Upload Button Until File Chosen #86

Description

@msymons

Current Behavior:

Dependency-Track provides the ability to "Upload BOM" via a Projects's "Components" tab.

If one clicks the "Upload" button on the dialog without first selecting a file then DT displays a "BOM Uploaded" message and closes the dialog.... even though nothing was actually uploaded (tested using v4.2.2).

image

The api-server log reports:

WARN [BomUploadProcessingTask] The BOM uploaded is not in a supported format.
 Supported formats include CycloneDX XML and JSON

Proposed Behavior:

The "Upload" button on the dialog should be inactive until a file is selected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions